From de1e03b06524e8055d40b449e8b113c1723f791f Mon Sep 17 00:00:00 2001 From: Sebastian Spaeth Date: Thu, 19 Jan 2012 11:54:16 +0100 Subject: [PATCH] Tweak code documentation Minor comment changes Signed-off-by: Sebastian Spaeth --- offlineimap/accounts.py | 6 ++++-- offlineimap/folder/Base.py | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/offlineimap/accounts.py b/offlineimap/accounts.py index 42cc22c..81edbe3 100644 --- a/offlineimap/accounts.py +++ b/offlineimap/accounts.py @@ -379,8 +379,10 @@ def syncfolder(account, remotefolder, quick): replace(remoterepos.getsep(), statusrepos.getsep())) if localfolder.get_uidvalidity() == None: - # This is a new folder, so delete the status cache to be sure - # we don't have a conflict. + # This is a new folder, so delete the status cache to be + # sure we don't have a conflict. + # TODO: This does not work. We always return a value, need + # to rework this... statusfolder.deletemessagelist() statusfolder.cachemessagelist() diff --git a/offlineimap/folder/Base.py b/offlineimap/folder/Base.py index e852018..30dfac2 100644 --- a/offlineimap/folder/Base.py +++ b/offlineimap/folder/Base.py @@ -126,6 +126,7 @@ class BaseFolder(object): return True def _getuidfilename(self): + """provides UIDVALIDITY cache filename for class internal purposes""" return os.path.join(self.repository.getuiddir(), self.getfolderbasename())