Tweak code documentation

Minor comment changes

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
This commit is contained in:
Sebastian Spaeth 2012-01-19 11:54:16 +01:00
parent d3c693be7d
commit de1e03b065
2 changed files with 5 additions and 2 deletions

View File

@ -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()

View File

@ -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())