[PATCH] Fixed bug: wrong number of arguments to debug() [IMAP.py].

David Favro offlineimap at meta-dynamic.com
Sat Mar 26 23:43:37 UTC 2011


Signed-off-by: David Favro <offlineimap at meta-dynamic.com>
---
 offlineimap/folder/IMAP.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/offlineimap/folder/IMAP.py b/offlineimap/folder/IMAP.py
index 828070c..8c7b68d 100644
--- a/offlineimap/folder/IMAP.py
+++ b/offlineimap/folder/IMAP.py
@@ -359,7 +359,7 @@ class IMAPFolder(BaseFolder):
             # or something.  Argh.  It seems that Time2Internaldate
             # will rause a ValueError if the year is 0102 but not 1902,
             # but some IMAP servers nonetheless choke on 1902.
-            self.ui.debug("Message with invalid date %s. Server will use local time." \
+            self.ui.debug('imap', "Message with invalid date %s. Server will use local time." \
                               % datetuple)
             return None
 
-- 
1.7.0.4




More information about the OfflineIMAP-project mailing list