From ad1bcc55b935912a24a3671be249ad7809711864 Mon Sep 17 00:00:00 2001 From: donoban Date: Sat, 20 Oct 2018 21:25:13 +0200 Subject: [PATCH] Deleted unneded method _clone_vm() --- qubesmanager/settings.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/qubesmanager/settings.py b/qubesmanager/settings.py index 87845da..8d61d7d 100755 --- a/qubesmanager/settings.py +++ b/qubesmanager/settings.py @@ -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(