From 6da61af3231e653b291b1eb41a43b1991bc7514e Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Sat, 21 Jul 2012 00:12:18 +0200 Subject: [PATCH] dom0/backup-restore: fix netvm field in summary --- dom0/qvm-core/qubesutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom0/qvm-core/qubesutils.py b/dom0/qvm-core/qubesutils.py index 8392eb07..c94f8cb5 100644 --- a/dom0/qvm-core/qubesutils.py +++ b/dom0/qvm-core/qubesutils.py @@ -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"}, }