1
0
mirror of https://github.com/OfflineIMAP/offlineimap.git synced 2024-06-24 07:26:39 +02:00

Slightly more debug info

This commit is contained in:
John Goerzen 2008-08-02 14:37:55 -05:00
parent bd1d1010e7
commit 0754bdef6a

View File

@ -71,6 +71,7 @@ class MaildirRepository(BaseRepository):
# self.root directory (we'd prefer to raise an error in that case),
# but will make the (relative) paths underneath it. Need to use
# makedirs to support a / separator.
self.debug("Is dir? " + repr(os.path.isdir(foldername)))
if self.getsep() == '/':
for invalid in ['new', 'cur', 'tmp', 'offlineimap.uidvalidity']:
for component in foldername.split('/'):