Reformat offlineimap/folder/LocalStatus.py
Add some spaces, remove lines,... now format is better (lintian).
This commit is contained in:
parent
80ee751243
commit
8ed3d1ca9a
@ -54,7 +54,7 @@ class LocalStatusRepository(BaseRepository):
|
|||||||
self._folders = {}
|
self._folders = {}
|
||||||
|
|
||||||
def _instanciatefolder(self, foldername):
|
def _instanciatefolder(self, foldername):
|
||||||
return self.LocalStatusFolderClass(foldername, self) # Instanciate.
|
return self.LocalStatusFolderClass(foldername, self) # Instantiate.
|
||||||
|
|
||||||
def setup_backend(self, backend):
|
def setup_backend(self, backend):
|
||||||
if backend in list(self.backends.keys()):
|
if backend in list(self.backends.keys()):
|
||||||
@ -75,7 +75,7 @@ class LocalStatusRepository(BaseRepository):
|
|||||||
# If backend contains data, import it to folder.
|
# If backend contains data, import it to folder.
|
||||||
if not folderbk.isnewfolder():
|
if not folderbk.isnewfolder():
|
||||||
self.ui._msg("Migrating LocalStatus cache from %s to %s "
|
self.ui._msg("Migrating LocalStatus cache from %s to %s "
|
||||||
"status folder for %s:%s"%
|
"status folder for %s:%s" %
|
||||||
(bk, self._backend, self.name, folder.name))
|
(bk, self._backend, self.name, folder.name))
|
||||||
|
|
||||||
folderbk.cachemessagelist()
|
folderbk.cachemessagelist()
|
||||||
|
Loading…
Reference in New Issue
Block a user