Removed unused method get_loglevel_from_verbosity()

This commit is contained in:
donoban 2021-02-13 00:47:44 +01:00
parent c9a0f4ea66
commit d5e77066e9
No known key found for this signature in database
GPG Key ID: 141310D8E3ED08A5

View File

@ -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.