From dd82f213f006af54dbd83165a423e28cbefea2d5 Mon Sep 17 00:00:00 2001 From: Sebastian Spaeth Date: Sat, 7 May 2011 18:27:28 +0200 Subject: [PATCH] accounts: fix broken warn statement Use two %s in the message for both string parameters. Signed-off-by: Sebastian Spaeth Signed-off-by: Nicolas Sebrecht --- offlineimap/accounts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/offlineimap/accounts.py b/offlineimap/accounts.py index 0eb49dc..e4499fa 100644 --- a/offlineimap/accounts.py +++ b/offlineimap/accounts.py @@ -219,8 +219,8 @@ class SyncableAccount(Account): if e.severity >= OfflineImapError.ERROR.CRITICAL: raise except: - self.ui.warn("Error occured attempting to sync "\ - "account '%s':\n"% (self, traceback.format_exc())) + self.ui.warn("Error occured attempting to sync account "\ + "'%s':\n%s"% (self, traceback.format_exc())) else: # after success sync, reset the looping counter to 3 if self.refreshperiod: