accounts: fix broken warn statement

Use two %s in the message for both string parameters.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Sebastian Spaeth 2011-05-07 18:27:28 +02:00 committed by Nicolas Sebrecht
parent ac27c93c83
commit dd82f213f0

View File

@ -219,8 +219,8 @@ class SyncableAccount(Account):
if e.severity >= OfflineImapError.ERROR.CRITICAL: if e.severity >= OfflineImapError.ERROR.CRITICAL:
raise raise
except: except:
self.ui.warn("Error occured attempting to sync "\ self.ui.warn("Error occured attempting to sync account "\
"account '%s':\n"% (self, traceback.format_exc())) "'%s':\n%s"% (self, traceback.format_exc()))
else: else:
# after success sync, reset the looping counter to 3 # after success sync, reset the looping counter to 3
if self.refreshperiod: if self.refreshperiod: