qvm-ls: fix handling explicit VMs list
This commit is contained in:
parent
9d781f77ce
commit
e431e8bc45
@ -217,12 +217,12 @@ def main():
|
|||||||
|
|
||||||
assert len(vms_to_display) == no_vms
|
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
|
# First calculate the maximum width of each field we want to display
|
||||||
# also collect data to display
|
# also collect data to display
|
||||||
for f in fields_to_display:
|
for f in fields_to_display:
|
||||||
fields[f]["max_width"] = len(f)
|
fields[f]["max_width"] = len(f)
|
||||||
|
|
||||||
|
|
||||||
data_to_display = []
|
data_to_display = []
|
||||||
|
Loading…
Reference in New Issue
Block a user