Fix trivial typo that was causing an exception when killing an unresponsive VM

This commit is contained in:
Joanna Rutkowska 2010-06-04 11:22:02 +02:00
parent d938a69b2e
commit 3cfa248ef2

View File

@ -220,7 +220,7 @@ class VmShutdownMonitor(QObject):
return return
reply = QMessageBox.question(None, "VM Shutdown", reply = QMessageBox.question(None, "VM Shutdown",
"The VM <b>'{0}'</b> hasn't shutdown within the last {1} seconds, do you want to kill it?<br>".format(vm_name, vm_shutdown_timeout/1000), "The VM <b>'{0}'</b> hasn't shutdown within the last {1} seconds, do you want to kill it?<br>".format(vm.name, vm_shutdown_timeout/1000),
"Kill it!", "Wait another {0} seconds...".format(vm_shutdown_timeout/1000)) "Kill it!", "Wait another {0} seconds...".format(vm_shutdown_timeout/1000))
if reply == 0: if reply == 0: