New restoreatime patch
From: Ben Kibbey <bjk@luxsci.net> Attached is a patch to restore the atime of Maildir folders after syncing. It can be enabled via the 'restoreatime' boolean in the configuration file. I needed this because offlineimap is run after a fetchmail and my mail checker breaks.
This commit is contained in:
@ -33,6 +33,9 @@ class MaildirRepository(BaseRepository):
|
||||
self.ui = UIBase.getglobalui()
|
||||
self.debug("MaildirRepository initialized, sep is " + repr(self.getsep()))
|
||||
|
||||
def getrestoreatime(self):
|
||||
return self.getconfboolean('restoreatime', 0)
|
||||
|
||||
def getlocalroot(self):
|
||||
return os.path.expanduser(self.getconf('localfolders'))
|
||||
|
||||
|
Reference in New Issue
Block a user