spaetz/next still having problems with '.'

Sebastian Spaeth Sebastian at
Mon Sep 26 14:20:26 BST 2011

On Fri, 23 Sep 2011 21:57:52 -0400, Dave Abrahams <dave at> wrote:
>     name = imaputil.dequote(name)
>   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/offlineimap/", line 41, in dequote
>     if not (string[0] == '"' and string[-1] == '"'):
> IndexError: string index out of range

Thanks, I improved the dequote function to cope being called with empty
strings (it would bail out as seen above before). 

I still need to think through how "top-level" folders should be
addressed by name though. Allowing "empty" names for the top-level still
makes sense, but it is probably most consistent to use the folder
separator ie "/" or "." for the top level.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <>

More information about the OfflineIMAP-project mailing list