summaryrefslogtreecommitdiff
path: root/DistUpgrade/DistUpgradeView.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-05-26 18:32:01 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-05-26 18:32:01 +0200
commit726df05e62500b4783151dc07ca2c66f340a1ce4 (patch)
tree1681a7e3eaf27a7bf7059d5579540995a453eb49 /DistUpgrade/DistUpgradeView.py
parentcf3bdddf97ef146927ffd2dc378a30c58ff66031 (diff)
downloadpython-apt-726df05e62500b4783151dc07ca2c66f340a1ce4.tar.gz
* check if libgnome2-perl is installed and if not expand the terminal and use dialog, otherwise use gnome
Diffstat (limited to 'DistUpgrade/DistUpgradeView.py')
-rw-r--r--DistUpgrade/DistUpgradeView.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/DistUpgrade/DistUpgradeView.py b/DistUpgrade/DistUpgradeView.py
index faa581c8..4b24ee7f 100644
--- a/DistUpgrade/DistUpgradeView.py
+++ b/DistUpgrade/DistUpgradeView.py
@@ -35,9 +35,9 @@ class DistUpgradeView(object):
def getFetchProgress(self):
" return a fetch progress object "
return apt.progress.FetchProgress()
- def getInstallProgress(self):
+ def getInstallProgress(self, cache=None):
" return a install progress object "
- return apt.progress.InstallProgress()
+ return apt.progress.InstallProgress(cache)
def getTerminal(self):
return DumbTerminal()
def updateStatus(self, msg):