dom0/backup-restore: minor fix for HVM restore summary

This commit is contained in:
Marek Marczykowski 2012-04-20 02:55:11 +02:00
parent 27b5aac7ad
commit c46edd9fb1

View File

@ -891,6 +891,7 @@ def backup_restore_print_summary(restore_info, print_callback = print_stdout):
+ ('}' if vm.is_netvm() else '')"},
"type": {"func": "'Tpl' if vm.is_template() else \
'HVM' if vm.type == 'HVM' else \
vm.type.replace('VM','')"},
"updbl" : {"func": "'Yes' if vm.updateable else ''"},