[PATCH 2/2] Fix broke warn statement

Sebastian Spaeth Sebastian at SSpaeth.de
Sat May 7 16:27:28 UTC 2011


This was a broken format statement, fixed now.

Signed-off-by: Sebastian Spaeth <Sebastian at SSpaeth.de>
---
 offlineimap/accounts.py |    4 ++--
 1 files 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:
-- 
1.7.4.1




More information about the OfflineIMAP-project mailing list