summaryrefslogtreecommitdiff
path: root/DistUpgrade/DistUpgradeViewNonInteractive.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-02-02 19:54:35 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2006-02-02 19:54:35 +0000
commit2e432bba1f38efc5c61882d72f9c83a9ba26ccd9 (patch)
treeb9a85a45d053d73ebfdf33be3ab4c531b71022c1 /DistUpgrade/DistUpgradeViewNonInteractive.py
parent831d64d85bf9ae977b388ecbe2417a0453489975 (diff)
downloadpython-apt-2e432bba1f38efc5c61882d72f9c83a9ba26ccd9.tar.gz
* small fixes on the non-interactive version
Diffstat (limited to 'DistUpgrade/DistUpgradeViewNonInteractive.py')
-rw-r--r--DistUpgrade/DistUpgradeViewNonInteractive.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/DistUpgrade/DistUpgradeViewNonInteractive.py b/DistUpgrade/DistUpgradeViewNonInteractive.py
index 78e8d376..bb426a7a 100644
--- a/DistUpgrade/DistUpgradeViewNonInteractive.py
+++ b/DistUpgrade/DistUpgradeViewNonInteractive.py
@@ -22,7 +22,7 @@
import apt
import logging
-class NonInteractiveInstallProgress(InstallProgress):
+class NonInteractiveInstallProgress(apt.progress.InstallProgress):
def error(self, pkg, errormsg):
logging.error("got a error from dpkg for pkg: '%s': '%s'" % (pkg, errormsg))
def conffile(self, current, new):
@@ -57,7 +57,7 @@ class NonInteractiveDistUpgradeView(object):
pass
def confirmChanges(self, summary, changes, downloadSize):
DistUpgradeView.confirmChanges(self, summary, changes, downloadSize)
- logging.debug("toinstall: '%s'", % self.toInstall)
+ logging.debug("toinstall: '%s'" % self.toInstall)
logging.debug("toupgrade: '%s'" % self.toUpgrade)
logging.debug("toremove: '%s'" % self.toRemove)
return True