Reformat offlineimap/accounts.py

Add some spaces, remove lines,... now format is better (lintian).
This commit is contained in:
Rodolfo García Peñas (kix) 2020-08-29 20:05:18 +02:00
parent 58596767ef
commit 9f15c05520

View File

@ -41,6 +41,7 @@ except:
except: except:
pass # Ok if this fails, we can do without. pass # Ok if this fails, we can do without.
# FIXME: spaghetti code alert! # FIXME: spaghetti code alert!
def getaccountlist(customconfig): def getaccountlist(customconfig):
# Account names in a list. # Account names in a list.
@ -321,7 +322,6 @@ class SyncableAccount(Account):
remotefolder.getvisiblename(). remotefolder.getvisiblename().
replace(self.remoterepos.getsep(), self.localrepos.getsep())) replace(self.remoterepos.getsep(), self.localrepos.getsep()))
# The syncrunner will loop on this method. This means it is called more than # The syncrunner will loop on this method. This means it is called more than
# once during the run. # once during the run.
def __sync(self): def __sync(self):
@ -581,7 +581,6 @@ def syncfolder(account, remotefolder, quick):
else: else:
partial.cachemessagelist(min_uid=min_uid) partial.cachemessagelist(min_uid=min_uid)
remoterepos = account.remoterepos remoterepos = account.remoterepos
localrepos = account.localrepos localrepos = account.localrepos
statusrepos = account.statusrepos statusrepos = account.statusrepos