forgot if-statement in last commit

This commit is contained in:
GammaSQ 2016-06-21 20:30:34 +02:00 committed by Marek Marczykowski-Górecki
parent 3c7915808b
commit 3599249e2d
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -150,7 +150,11 @@ def main():
cpu_usages = None
if arguments.raw_data:
if ''
fields_to_display = arguments.raw_data
if 'cpu' in arguments.raw_data:
qhost = QubesHost()
(measure_time, cpu_usages) = qhost.measure_cpu_usage(qvm_collection)
else:
fields_to_display = ["name", "on", "state", "updbl", "type", "template", "netvm", "label" ]
if (arguments.ids):