offlineimap rev 549

"Automatic Subversion Change Mailer" <[email protected]> Thu, 31 Jul 2003 19:48:49 -0500 (CDT)
Newsgroups gmane.mail.imap.offlineimap.subversion
Message-ID <[email protected]>
You are receiving this message because
all commits get sent to this address.

Author: jgoerzen
Date: 2003-07-31 19:48:35 -0500 (Thu, 31 Jul 2003)
New Revision: 549

Modified:
  offlineimap/branches/twisted/offlineimap/folder/IMAP.py

Log:
Fixed an off-by-one error


Diff:
Modified: offlineimap/branches/twisted/offlineimap/folder/IMAP.py
==============================================================================
--- offlineimap/branches/twisted/offlineimap/folder/IMAP.py	2003-07-30 15:55:09 UTC (rev 548)
+++ offlineimap/branches/twisted/offlineimap/folder/IMAP.py	2003-08-01 00:48:35 UTC (rev 549)
@@ -123,7 +123,7 @@
     def _getmessage_process(self, message):
         key = message.keys()[0]
         data = message[key][0]
-        i = data.index('BODY')
+        i = data.index('BODY') + 1
         while 1:
             if type(data[i]) == type(''):
                 return data[i].replace("\r\n", "\n")