[PATCH 4/4] Use "%s" % account rather than account.name

Sebastian Spaeth Sebastian at SSpaeth.de
Wed Apr 27 10:15:52 UTC 2011


uncritical patch, but we can make the code a bit shorter so why not.

Signed-off-by: Sebastian Spaeth <Sebastian at SSpaeth.de>
---
 offlineimap/accounts.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/offlineimap/accounts.py b/offlineimap/accounts.py
index a22bf7f..f94a55c 100644
--- a/offlineimap/accounts.py
+++ b/offlineimap/accounts.py
@@ -256,7 +256,7 @@ class SyncableAccount(Account):
                     thread = InstanceLimitedThread(\
                         instancename = 'FOLDER_' + self.remoterepos.getname(),
                         target = syncfolder,
-                        name = "Folder sync [%s]" % self.name,
+                        name = "Folder sync [%s]" % self,
                         args = (self.name, remoterepos, remotefolder, localrepos,
                                 statusrepos, quick))
                     thread.setDaemon(1)
-- 
1.7.4.1




More information about the OfflineIMAP-project mailing list