more style consistency

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht
2015-01-13 13:59:52 +01:00
parent 6fc9c36014
commit 41fa3ae4fc
5 changed files with 8 additions and 7 deletions

View File

@ -170,8 +170,8 @@ class MaildirRepository(BaseRepository):
self.debug(" skip this entry (not a directory)")
# Not a directory -- not a folder.
continue
# extension can be None.
if extension:
# extension can be None which fails.
foldername = os.path.join(extension, dirname)
else:
foldername = dirname