/offlineimap/head: changeset 447
Added the ability to use the top level of a Maildir as folder named ".". Useful for generating Maildir trees for a Courier server.
This commit is contained in:
@ -106,7 +106,7 @@ class MaildirRepository(BaseRepository):
|
||||
self.debug(" toppath = %s" % toppath)
|
||||
|
||||
# Iterate over directories in top.
|
||||
for dirname in os.listdir(toppath):
|
||||
for dirname in os.listdir(toppath) + ['.']:
|
||||
self.debug(" *** top of loop")
|
||||
self.debug(" dirname = %s" % dirname)
|
||||
if dirname in ['cur', 'new', 'tmp', 'offlineimap.uidvalidity']:
|
||||
|
Reference in New Issue
Block a user