/offlineimap/head: changeset 266
Fixed a syntax error found by Corey.
This commit is contained in:
parent
94eb83efd7
commit
d3f924f6fc
@ -101,7 +101,7 @@ def imapsplit(imapstring):
|
|||||||
# what remains through the regular imapsplit parser.
|
# what remains through the regular imapsplit parser.
|
||||||
# Recursion to the rescue.
|
# Recursion to the rescue.
|
||||||
arg = imapstring[i]
|
arg = imapstring[i]
|
||||||
arg = re.replace('\{\d+\}$', '', arg)
|
arg = re.sub('\{\d+\}$', '', arg)
|
||||||
debug("imapsplit() non-string [%d]: Feeding %s to recursion" %\
|
debug("imapsplit() non-string [%d]: Feeding %s to recursion" %\
|
||||||
arg)
|
arg)
|
||||||
retval.extend(imapsplit(imapstring[i]))
|
retval.extend(imapsplit(imapstring[i]))
|
||||||
|
Loading…
Reference in New Issue
Block a user