Deleted unneded method _clone_vm()

This commit is contained in:
donoban 2018-10-20 21:25:13 +02:00
parent 11cc8b7a67
commit ad1bcc55b9
No known key found for this signature in database
GPG Key ID: 141310D8E3ED08A5

View File

@ -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(