From 6a751616f699f871e134a4e6b83d5d08d1ed41aa Mon Sep 17 00:00:00 2001 From: Sebastian Spaeth Date: Mon, 31 Jan 2011 17:31:57 +0100 Subject: [PATCH] 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 Signed-off-by: Nicolas Sebrecht --- offlineimap/accounts.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/offlineimap/accounts.py b/offlineimap/accounts.py index cd09646..b60822c 100644 --- a/offlineimap/accounts.py +++ b/offlineimap/accounts.py @@ -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: