cleanup whitespace mess

This commit is contained in:
o 2016-04-04 15:57:29 +02:00
parent b04d1ce005
commit 01bc257265

View File

@ -35,10 +35,8 @@ def main():
action="store_true", default=False,
help="n m : One line summary of top n vms with more than m cpu_time %")
(options, args) = parser.parse_args ()
qvm_collection = QubesVmCollection()
qvm_collection.lock_db_for_reading()
qvm_collection.load()
@ -47,9 +45,7 @@ def main():
fields_to_display = ["name", "cpu", "mem"]
cpu_usages = None
qhost = QubesHost()
(measure_time, cpu_usages) = qhost.measure_cpu_usage(qvm_collection)
vms_list = [vm for vm in qvm_collection.values() if vm.is_running()]