Reduced logging output.

This commit is contained in:
Michael Herzberg 2017-08-24 08:07:37 +01:00
parent 676cc5ac9d
commit 295649ac1e
1 changed files with 2 additions and 3 deletions

View File

@ -66,9 +66,8 @@ def process_id(dbbasedir, path):
for date in sorted(os.listdir(iddir)):
try:
update_txt = update_sqlite_incremental(
dbpath, iddir, extid, date, True, "")
guarded_stdout("Processing {} ... \n {}".format(extid, update_txt))
update_sqlite_incremental(dbpath, iddir, extid, date, True,
"")
except Exception:
guarded_stderr("Exception when handling {} on {}:\n{}\n".
format(extid, date, traceback.format_exc()))