/offlineimap/head: changeset 266

Fixed a syntax error found by Corey.
This commit is contained in:
jgoerzen 2002-10-08 21:18:11 +01:00
parent 94eb83efd7
commit d3f924f6fc

View File

@ -101,7 +101,7 @@ def imapsplit(imapstring):
# what remains through the regular imapsplit parser.
# Recursion to the rescue.
arg = imapstring[i]
arg = re.replace('\{\d+\}$', '', arg)
arg = re.sub('\{\d+\}$', '', arg)
debug("imapsplit() non-string [%d]: Feeding %s to recursion" %\
arg)
retval.extend(imapsplit(imapstring[i]))