/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:
jgoerzen 2003-04-18 08:14:45 +01:00
parent ce02e1c514
commit 2288c0d37a
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
offlineimap (3.99.14) unstable; urgency=low
* Added the ability to use the top level of a Maildir as folder named
".". Useful for generating Maildir trees for a Courier server.
-- John Goerzen <jgoerzen@complete.org> Thu, 17 Apr 2003 21:13:27 -0500
offlineimap (3.99.13) unstable; urgency=low offlineimap (3.99.13) unstable; urgency=low
* Fixed password prompting for non-Curses UIs. * Fixed password prompting for non-Curses UIs.

View File

@ -106,7 +106,7 @@ class MaildirRepository(BaseRepository):
self.debug(" toppath = %s" % toppath) self.debug(" toppath = %s" % toppath)
# Iterate over directories in top. # Iterate over directories in top.
for dirname in os.listdir(toppath): for dirname in os.listdir(toppath) + ['.']:
self.debug(" *** top of loop") self.debug(" *** top of loop")
self.debug(" dirname = %s" % dirname) self.debug(" dirname = %s" % dirname)
if dirname in ['cur', 'new', 'tmp', 'offlineimap.uidvalidity']: if dirname in ['cur', 'new', 'tmp', 'offlineimap.uidvalidity']: