Reformat offlineimap/repository/Base.py
Add some spaces, remove lines,... now format is better (lintian).
This commit is contained in:
parent
b64430e035
commit
7be7a70d85
@ -212,7 +212,7 @@ class BaseRepository(CustomConfig.ConfigHelperMixin):
|
||||
local_repo.forgetfolders()
|
||||
except OfflineImapError as e:
|
||||
self.ui.error(e, exc_info()[2],
|
||||
"Creating folder %s on repository %s"%
|
||||
"Creating folder %s on repository %s" %
|
||||
(local_name, local_repo))
|
||||
raise
|
||||
status_repo.makefolder(local_name.replace(
|
||||
@ -232,7 +232,7 @@ class BaseRepository(CustomConfig.ConfigHelperMixin):
|
||||
# don't create it.
|
||||
if not remote_repo.should_sync_folder(remote_name):
|
||||
self.ui.debug('', "Not creating folder '%s' (repository '%s"
|
||||
"') as it would be filtered out on that repository."%
|
||||
"') as it would be filtered out on that repository." %
|
||||
(remote_name, self))
|
||||
continue
|
||||
|
||||
@ -260,7 +260,7 @@ class BaseRepository(CustomConfig.ConfigHelperMixin):
|
||||
"itories so they lead to identical names if applied bac"
|
||||
"k and forth. 2) Use folderfilter settings on a reposit"
|
||||
"ory to prevent some folders from being created on the "
|
||||
"other side."%
|
||||
"other side." %
|
||||
(local_folder.getname(), local_repo, remote_name,
|
||||
remote_repo,
|
||||
loop_name),
|
||||
@ -273,7 +273,7 @@ class BaseRepository(CustomConfig.ConfigHelperMixin):
|
||||
self.forgetfolders()
|
||||
except OfflineImapError as e:
|
||||
self.ui.error(e, exc_info()[2], "Creating folder %s on "
|
||||
"repository %s"% (remote_name, remote_repo))
|
||||
"repository %s" % (remote_name, remote_repo))
|
||||
raise
|
||||
status_repo.makefolder(local_name.replace(
|
||||
local_repo.getsep(), status_repo.getsep()))
|
||||
|
Loading…
Reference in New Issue
Block a user