diff --git a/qubesadmin/tools/qvm_template.py b/qubesadmin/tools/qvm_template.py index f6afbb1d..cd39c887 100644 --- a/qubesadmin/tools/qvm_template.py +++ b/qubesadmin/tools/qvm_template.py @@ -1324,6 +1324,8 @@ def check_append(name, evr): tpl_list_dict = info_to_machine_output(tpl_list) elif command == 'list': tpl_list_dict = list_to_machine_output(tpl_list) + else: + assert False, f"Invalid command {command}" for status, grp in tpl_list_dict.items(): for line in grp: print('|'.join([status] + list(line.values())))