dom0/backup-restore: fix netvm field in summary

This commit is contained in:
Marek Marczykowski 2012-07-21 00:12:18 +02:00
parent 6580fc70a7
commit 6da61af323

View File

@ -908,7 +908,7 @@ def backup_restore_print_summary(restore_info, print_callback = print_stdout):
"netvm": {"func": "'n/a' if vm.is_netvm() and not vm.is_proxyvm() else\
('*' if vm.uses_default_netvm else '') +\
vm_info['netvm'] if vm.netvm is not None else '-'"},
vm_info['netvm'] if vm_info['netvm'] is not None else '-'"},
"label" : {"func" : "vm.label.name"},
}