Reformat offlineimap/folder/LocalStatus.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 19:52:56 +02:00
parent 80ee751243
commit 8ed3d1ca9a

View File

@ -54,7 +54,7 @@ class LocalStatusRepository(BaseRepository):
self._folders = {}
def _instanciatefolder(self, foldername):
return self.LocalStatusFolderClass(foldername, self) # Instanciate.
return self.LocalStatusFolderClass(foldername, self) # Instantiate.
def setup_backend(self, backend):
if backend in list(self.backends.keys()):
@ -75,7 +75,7 @@ class LocalStatusRepository(BaseRepository):
# If backend contains data, import it to folder.
if not folderbk.isnewfolder():
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))
folderbk.cachemessagelist()