Remove unused variable mailboxes
"mailboxes" is defined global and set to an empty list, but never used from anywhere within offlineimap. So let us just delete it. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de> Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
9afb432053
commit
6a751616f6
@ -102,7 +102,6 @@ def AccountHashGenerator(customconfig):
|
||||
retval[item.getname()] = item
|
||||
return retval
|
||||
|
||||
mailboxes = []
|
||||
|
||||
class Account(CustomConfig.ConfigHelperMixin):
|
||||
def __init__(self, config, name):
|
||||
@ -291,7 +290,6 @@ class SyncableAccount(Account, AccountSynchronizationMixin):
|
||||
|
||||
def syncfolder(accountname, remoterepos, remotefolder, localrepos,
|
||||
statusrepos, quick):
|
||||
global mailboxes
|
||||
ui = getglobalui()
|
||||
ui.registerthread(accountname)
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user