diff --git a/offlineimap/accounts.py b/offlineimap/accounts.py index 95b3e9f..18a36fc 100644 --- a/offlineimap/accounts.py +++ b/offlineimap/accounts.py @@ -60,9 +60,10 @@ class Account(CustomConfig.ConfigHelperMixin): Most of the time you will actually want to use the derived :class:`accounts.SyncableAccount` which contains all functions used for syncing an account.""" - #signal gets set when we should stop looping + + # Signal gets set when we should stop looping. abort_soon_signal = Event() - #signal gets set on CTRL-C/SIGTERM + # Signal gets set on CTRL-C/SIGTERM. abort_NOW_signal = Event() def __init__(self, config, name): @@ -72,6 +73,7 @@ class Account(CustomConfig.ConfigHelperMixin): :param name: A string denoting the name of the Account as configured""" + self.config = config self.name = name self.metadatadir = config.getmetadatadir() diff --git a/offlineimap/repository/GmailMaildir.py b/offlineimap/repository/GmailMaildir.py index b790c73..61352f8 100644 --- a/offlineimap/repository/GmailMaildir.py +++ b/offlineimap/repository/GmailMaildir.py @@ -23,8 +23,8 @@ class GmailMaildirRepository(MaildirRepository): def __init__(self, reposname, account): """Initialize a MaildirRepository object. Takes a path name to the directory holding all the Maildir directories.""" - super(GmailMaildirRepository, self).__init__(reposname, account) + super(GmailMaildirRepository, self).__init__(reposname, account) def getfoldertype(self): return GmailMaildirFolder