From 51abdbe08ac519586748ce38922ae2972c1fe170 Mon Sep 17 00:00:00 2001 From: jgoerzen Date: Wed, 16 Oct 2002 00:07:02 +0100 Subject: [PATCH] /offlineimap/head: changeset 270 Another attempt at dealing with bogus IMAP stuff --- offlineimap/head/debian/changelog | 6 ++++++ offlineimap/head/offlineimap/imaputil.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/offlineimap/head/debian/changelog b/offlineimap/head/debian/changelog index 04a4963..1cf5d4f 100644 --- a/offlineimap/head/debian/changelog +++ b/offlineimap/head/debian/changelog @@ -1,3 +1,9 @@ +offlineimap (3.99.2) unstable; urgency=low + + * Further attempts to fix imapsplit problems. + + -- John Goerzen Tue, 15 Oct 2002 12:35:42 -0500 + offlineimap (3.99.1) unstable; urgency=low * Fixed some syntax errors in imaputil.py diff --git a/offlineimap/head/offlineimap/imaputil.py b/offlineimap/head/offlineimap/imaputil.py index ea0c6d0..e906b29 100644 --- a/offlineimap/head/offlineimap/imaputil.py +++ b/offlineimap/head/offlineimap/imaputil.py @@ -104,7 +104,7 @@ def imapsplit(imapstring): arg = re.sub('\{\d+\}$', '', arg) debug("imapsplit() non-string [%d]: Feeding %s to recursion" %\ (i, arg)) - retval.extend(imapsplit(imapstring[i])) + retval.extend(imapsplit(arg)) debug("imapsplit() non-string: returning %s" % str(retval)) return retval