Make "syncing folder structure" a debug level log entry
It happens quick, and clutters the log. So we can usually skip this. We will output a log entry when we actually create a new folder anyway. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
This commit is contained in:
parent
4e89bbfe6e
commit
a5eebd4b6b
@ -250,10 +250,11 @@ class UIBase:
|
|||||||
self._msg("*** Finished account '%s' in %d:%02d" %
|
self._msg("*** Finished account '%s' in %d:%02d" %
|
||||||
(account, sec // 60, sec % 60))
|
(account, sec // 60, sec % 60))
|
||||||
|
|
||||||
def syncfolders(s, srcrepos, destrepos):
|
def syncfolders(self, src_repo, dst_repo):
|
||||||
if s.verbose >= 0:
|
"""Log 'Copying folder structure...'"""
|
||||||
s._msg("Copying folder structure from %s to %s" % \
|
if self.verbose < 0: return
|
||||||
(s.getnicename(srcrepos), s.getnicename(destrepos)))
|
self.debug('', "Copying folder structure from %s to %s" % \
|
||||||
|
(src_repo, dst_repo))
|
||||||
|
|
||||||
############################## Folder syncing
|
############################## Folder syncing
|
||||||
def syncingfolder(s, srcrepos, srcfolder, destrepos, destfolder):
|
def syncingfolder(s, srcrepos, srcfolder, destrepos, destfolder):
|
||||||
|
Loading…
Reference in New Issue
Block a user