backup: fix restore summary table

This commit is contained in:
Marek Marczykowski-Górecki 2016-03-14 12:17:02 +01:00 committed by Wojtek Porczyk
parent 595dfdc0a9
commit e5af64f2bf

View File

@ -1990,8 +1990,8 @@ class BackupRestore(object):
"updbl": {"func": "'Yes' if vm.updateable else ''"},
"template": {"func": "'n/a' if vm.is_template() or vm.template is None else\
vm_info['template']"},
"template": {"func": "'n/a' if not hasattr(vm, 'template') is None "
"else vm_info['template']"},
"netvm": {"func": "'n/a' if vm.is_netvm() and not vm.is_proxyvm() else\
('*' if vm.property_is_default('netvm') else '') +\