Fix syntax error in nofsync support

This commit is contained in:
John Goerzen 2008-08-02 15:11:23 -05:00
parent 8114877fae
commit fbcb157ca4
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ class LocalStatusFolder(BaseFolder):
self.root = root
self.sep = '.'
self.config = config
self.dofsync = config.getdefaultboolean("general", "fsync")
self.dofsync = config.getdefaultboolean("general", "fsync", True)
self.filename = os.path.join(root, name)
self.filename = repository.getfolderfilename(name)
self.messagelist = None

View File

@ -48,7 +48,7 @@ class MaildirFolder(BaseFolder):
def __init__(self, root, name, sep, repository, accountname, config):
self.name = name
self.config = config
self.dofsync = config.getdefaultboolean("general", "fsync")
self.dofsync = config.getdefaultboolean("general", "fsync", True)
self.root = root
self.sep = sep
self.messagelist = None