Removed unused method get_loglevel_from_verbosity()
This commit is contained in:
parent
c9a0f4ea66
commit
d5e77066e9
@ -401,12 +401,6 @@ class QubesArgumentParser(argparse.ArgumentParser):
|
|||||||
self.error_runtime(
|
self.error_runtime(
|
||||||
'refusing to run as root; add --force-root to override')
|
'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
|
@staticmethod
|
||||||
def set_qubes_verbosity(namespace):
|
def set_qubes_verbosity(namespace):
|
||||||
'''Apply a verbosity setting.
|
'''Apply a verbosity setting.
|
||||||
|
Loading…
Reference in New Issue
Block a user