qvm-ls: fix handling explicit VMs list

This commit is contained in:
Marek Marczykowski-Górecki 2016-06-26 13:02:34 +02:00
rodzic 9d781f77ce
commit e431e8bc45
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 063938BA42CFA724

Wyświetl plik

@ -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 = []