Don't strip single-element lists

This was a dumb decision that complicated handling of single-item
entries.
This commit is contained in:
2020-12-01 03:20:00 -05:00
parent 3a5955b41c
commit 185615e6e8
5 changed files with 0 additions and 71 deletions

View File

@ -1211,10 +1211,6 @@ def format_info(config, domain_information, long_output):
def format_list(config, vm_list, raw):
# Handle single-element lists
if not isinstance(vm_list, list):
vm_list = [vm_list]
# Function to strip the "br" off of nets and return a nicer list
def getNiceNetID(domain_information):
# Network list