Fix broken logging calls
This commit is contained in:
parent
bd0c59a357
commit
0574ec032b
@ -84,7 +84,7 @@ if __name__ == '__main__':
|
|||||||
db = f"{cachedir}/{repo}.{DB_EXT}"
|
db = f"{cachedir}/{repo}.{DB_EXT}"
|
||||||
|
|
||||||
if args.verbose:
|
if args.verbose:
|
||||||
stdout_handler.setLevel(logging.DEBUG)
|
console_handler.setLevel(logging.DEBUG)
|
||||||
|
|
||||||
if pkgs:
|
if pkgs:
|
||||||
pkg_tarballs = pkgs
|
pkg_tarballs = pkgs
|
||||||
|
@ -73,7 +73,7 @@ if __name__ == '__main__':
|
|||||||
db = f"{cachedir}/{repo}.{DB_EXT}"
|
db = f"{cachedir}/{repo}.{DB_EXT}"
|
||||||
|
|
||||||
if args.verbose:
|
if args.verbose:
|
||||||
stdout_handler.setLevel(logging.DEBUG)
|
console_handler.setLevel(logging.DEBUG)
|
||||||
|
|
||||||
for pkg in pkgs:
|
for pkg in pkgs:
|
||||||
pkg_tarballs = pkgfiles.get_pkgfiles(query=pkg,
|
pkg_tarballs = pkgfiles.get_pkgfiles(query=pkg,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user