qvm-ls: fix handling explicit VMs list

This commit is contained in:
Marek Marczykowski-Górecki 2016-06-26 13:02:34 +02:00
parent 9d781f77ce
commit e431e8bc45
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -217,12 +217,12 @@ def main():
assert len(vms_to_display) == no_vms
#We DON'T NEED a max_width if we devide output by pipes!
#We DON'T NEED a max_width if we devide output by pipes!
# First calculate the maximum width of each field we want to display
# also collect data to display
for f in fields_to_display:
fields[f]["max_width"] = len(f)
# First calculate the maximum width of each field we want to display
# also collect data to display
for f in fields_to_display:
fields[f]["max_width"] = len(f)
data_to_display = []