docker-offlineimap/offlineimap/repository
Sebastian Spaeth c701e4824d Fix recursively scanning Maildir folders
Commit 1754bf4110 introduced a blunder:

-        for dirname in os.listdir(toppath) + ['.']:
+        for dirname in os.listdir(toppath) + [toppath]:
...
-            if self.getsep() == '/' and dirname != '.':
+            if self.getsep() == '/' and dirname:

This change was plainly wrong and would never have worked, so this
commit reverts above bit. While touching the function, some minor code
documentation, cleanup and limiting line length to 80 chars.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2011-06-16 18:37:05 +02:00
..
__init__.py Create an abstract Repository class 2011-03-03 18:19:42 +01:00
Base.py Allow to specify remote hostname even for the Gmail case 2011-06-08 17:19:07 +02:00
Gmail.py Allow to specify remote hostname even for the Gmail case 2011-06-08 17:19:07 +02:00
IMAP.py Allow to specify remote hostname even for the Gmail case 2011-06-08 17:19:07 +02:00
LocalStatus.py fix magicline import 2011-05-25 21:54:55 +02:00
Maildir.py Fix recursively scanning Maildir folders 2011-06-16 18:37:05 +02:00