Fix broken logging calls

This commit is contained in:
Eric Torres 2019-01-30 21:19:50 -08:00
parent bd0c59a357
commit 0574ec032b
2 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ if __name__ == '__main__':
db = f"{cachedir}/{repo}.{DB_EXT}"
if args.verbose:
stdout_handler.setLevel(logging.DEBUG)
console_handler.setLevel(logging.DEBUG)
if pkgs:
pkg_tarballs = pkgs

View File

@ -73,7 +73,7 @@ if __name__ == '__main__':
db = f"{cachedir}/{repo}.{DB_EXT}"
if args.verbose:
stdout_handler.setLevel(logging.DEBUG)
console_handler.setLevel(logging.DEBUG)
for pkg in pkgs:
pkg_tarballs = pkgfiles.get_pkgfiles(query=pkg,