Tweak code documentation
Minor comment changes Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
This commit is contained in:
parent
d3c693be7d
commit
de1e03b065
@ -379,8 +379,10 @@ def syncfolder(account, remotefolder, quick):
|
|||||||
replace(remoterepos.getsep(),
|
replace(remoterepos.getsep(),
|
||||||
statusrepos.getsep()))
|
statusrepos.getsep()))
|
||||||
if localfolder.get_uidvalidity() == None:
|
if localfolder.get_uidvalidity() == None:
|
||||||
# This is a new folder, so delete the status cache to be sure
|
# This is a new folder, so delete the status cache to be
|
||||||
# we don't have a conflict.
|
# sure we don't have a conflict.
|
||||||
|
# TODO: This does not work. We always return a value, need
|
||||||
|
# to rework this...
|
||||||
statusfolder.deletemessagelist()
|
statusfolder.deletemessagelist()
|
||||||
|
|
||||||
statusfolder.cachemessagelist()
|
statusfolder.cachemessagelist()
|
||||||
|
@ -126,6 +126,7 @@ class BaseFolder(object):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
def _getuidfilename(self):
|
def _getuidfilename(self):
|
||||||
|
"""provides UIDVALIDITY cache filename for class internal purposes"""
|
||||||
return os.path.join(self.repository.getuiddir(),
|
return os.path.join(self.repository.getuiddir(),
|
||||||
self.getfolderbasename())
|
self.getfolderbasename())
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user