From d5e77066e9ff3776fda577315bc074d9bcc430d8 Mon Sep 17 00:00:00 2001 From: donoban Date: Sat, 13 Feb 2021 00:47:44 +0100 Subject: [PATCH] Removed unused method get_loglevel_from_verbosity() --- qubes/tools/__init__.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/qubes/tools/__init__.py b/qubes/tools/__init__.py index 0a85c8ff..38dc0fc9 100644 --- a/qubes/tools/__init__.py +++ b/qubes/tools/__init__.py @@ -401,12 +401,6 @@ class QubesArgumentParser(argparse.ArgumentParser): self.error_runtime( 'refusing to run as root; add --force-root to override') - @staticmethod - def get_loglevel_from_verbosity(namespace): - ''' Return loglevel calculated from quiet and verbose arguments ''' - return (namespace.quiet - namespace.verbose) * 10 + logging.WARNING - - @staticmethod def set_qubes_verbosity(namespace): '''Apply a verbosity setting.