+offlineimap (4.0.7) unstable; urgency=low
+
+ * Added additional debug logging when downloading messages in an attempt to
+ get the info needed to address #199452.
+
+ -- John Goerzen <jgoerzen@complete.org> Sun, 1 Aug 2004 16:48:15 -0500
+
offlineimap (4.0.6) unstable; urgency=low
* Corrected check for Curses.Blinkenlights hotkey press. Closes: #256336.
# IMAP folder support
-# Copyright (C) 2002 John Goerzen
+# Copyright (C) 2002-2004 John Goerzen
# <jgoerzen@complete.org>
#
# This program is free software; you can redistribute it and/or modify
imapobj = self.imapserver.acquireconnection()
try:
imapobj.select(self.getfullname(), readonly = 1)
- return imapobj.uid('fetch', '%d' % uid, '(BODY.PEEK[])')[1][0][1].replace("\r\n", "\n")
+ initialresult = imapobj.uid('fetch', '%d' % uid, '(BODY.PEEK[])')
+ ui.debug('imap', 'Returned object from fetching %d: %s' % \
+ (uid, str(initialresult)))
+ return initialresult[1][0][1].replace("\r\n", "\n")
+
finally:
self.imapserver.releaseconnection(imapobj)