summaryrefslogtreecommitdiff
path: root/DistUpgrade/DistUpgradeView.py
diff options
context:
space:
mode:
authorSebastian Heinlein <sebi@sebi-pc>2006-09-26 10:46:49 +0200
committerSebastian Heinlein <sebi@sebi-pc>2006-09-26 10:46:49 +0200
commit90a9b9f0faf09a401693f7cfcbd362ff62559929 (patch)
treee00d94e7c77b45f8ac9792a9c80a68e2a2391d7c /DistUpgrade/DistUpgradeView.py
parenta807cb63c7b82450fb53f9de5958ae5637fff0d1 (diff)
parentd8c288d928da41fae20947b7dd2064740c2593b3 (diff)
downloadpython-apt-90a9b9f0faf09a401693f7cfcbd362ff62559929.tar.gz
* merge with mvo
Diffstat (limited to 'DistUpgrade/DistUpgradeView.py')
-rw-r--r--DistUpgrade/DistUpgradeView.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/DistUpgrade/DistUpgradeView.py b/DistUpgrade/DistUpgradeView.py
index 9fda83d4..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)
@@ -72,6 +73,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