We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c097b6f commit 78f183dCopy full SHA for 78f183d
qubesadmin/tools/qvm_device.py
@@ -529,6 +529,8 @@ def get_parser(device_class=None):
529
530
def main(args=None, app=None):
531
"""Main routine of :program:`qvm-block`."""
532
+ app = app or qubesadmin.Qubes()
533
+
534
basename = os.path.basename(sys.argv[0])
535
devclass = None
536
if basename.startswith('qvm-') and basename != 'qvm-device':
0 commit comments