From d37a18474fd00a9cb3e57f13517628095c15bba7 Mon Sep 17 00:00:00 2001 From: "glatzor@ubuntu.com" <> Date: Mon, 11 Sep 2006 16:04:40 +0200 Subject: * improve wording of some dialogs: no-longer-supported, no-upgrades-avaiable and replace-conf-file * introduce an abort method for the view to provide a visual feedback that the upgrade was canceled --- DistUpgrade/DistUpgradeView.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'DistUpgrade/DistUpgradeView.py') diff --git a/DistUpgrade/DistUpgradeView.py b/DistUpgrade/DistUpgradeView.py index 9fda83d4..d5b430b8 100644 --- a/DistUpgrade/DistUpgradeView.py +++ b/DistUpgrade/DistUpgradeView.py @@ -72,6 +72,9 @@ class DistUpgradeView(object): on the current view """ pass + def abort(): + """ provide a visual feedback that the upgrade was aborted """ + pass def setStep(self, step): """ we have 5 steps current for a upgrade: 1. Analyzing the system -- cgit v1.2.3 From 77bd6849a9bcd0855b47244558f1df7bc64da197 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Wed, 13 Sep 2006 14:56:29 +0200 Subject: * DistUpgrade/DistUpgradeView.py: - import subprocess --- DistUpgrade/DistUpgradeView.py | 1 + 1 file changed, 1 insertion(+) (limited to 'DistUpgrade/DistUpgradeView.py') diff --git a/DistUpgrade/DistUpgradeView.py b/DistUpgrade/DistUpgradeView.py index d5b430b8..a9cd16d7 100644 --- a/DistUpgrade/DistUpgradeView.py +++ b/DistUpgrade/DistUpgradeView.py @@ -43,6 +43,7 @@ def estimatedDownloadTime(requiredDownload): class DumbTerminal(object): def call(self, cmd): " expects a command in the subprocess style (as a list) " + import subprocess subprocess.call(cmd) -- cgit v1.2.3