Deleted unneded method _clone_vm()
This commit is contained in:
parent
11cc8b7a67
commit
ad1bcc55b9
@ -595,17 +595,6 @@ class VMSettingsWindow(ui_settingsdlg.Ui_SettingsDialog, QtGui.QDialog):
|
||||
self.tr("Removal cancelled"),
|
||||
self.tr("The qube will not be removed."))
|
||||
|
||||
def _clone_vm(self, t_monitor, name):
|
||||
try:
|
||||
self.vm.app.clone_vm(self.vm, name)
|
||||
|
||||
except qubesadmin.exc.QubesException as qex:
|
||||
t_monitor.set_error_msg(str(qex))
|
||||
except Exception as ex: # pylint: disable=broad-except
|
||||
t_monitor.set_error_msg(repr(ex))
|
||||
|
||||
t_monitor.set_finished()
|
||||
|
||||
def clone_vm(self):
|
||||
|
||||
cloned_vm_name, ok = QtGui.QInputDialog.getText(
|
||||
|
Loading…
Reference in New Issue
Block a user