From 0574ec032b307f3505288a4ba1dd677ce4a065a6 Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Wed, 30 Jan 2019 21:19:50 -0800 Subject: [PATCH] Fix broken logging calls --- bin/addpkg | 2 +- bin/delpkg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/addpkg b/bin/addpkg index 7f436d3..1ca4cc0 100644 --- a/bin/addpkg +++ b/bin/addpkg @@ -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 diff --git a/bin/delpkg b/bin/delpkg index ae9d4e1..805ca0f 100644 --- a/bin/delpkg +++ b/bin/delpkg @@ -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,