summaryrefslogtreecommitdiff
path: root/DistUpgrade/DistUpgradeViewNonInteractive.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-02-03 15:37:57 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2006-02-03 15:37:57 +0000
commit4422d2689f60ec0ac2d10db07919f746724cd9b3 (patch)
treeff14fdcabd1c8cf6250f7e9b780e57997e1d9c53 /DistUpgrade/DistUpgradeViewNonInteractive.py
parent2e432bba1f38efc5c61882d72f9c83a9ba26ccd9 (diff)
downloadpython-apt-4422d2689f60ec0ac2d10db07919f746724cd9b3.tar.gz
* added MaxRetries to the configuration, retry on update errors as well
Diffstat (limited to 'DistUpgrade/DistUpgradeViewNonInteractive.py')
-rw-r--r--DistUpgrade/DistUpgradeViewNonInteractive.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/DistUpgrade/DistUpgradeViewNonInteractive.py b/DistUpgrade/DistUpgradeViewNonInteractive.py
index bb426a7a..6bd110e4 100644
--- a/DistUpgrade/DistUpgradeViewNonInteractive.py
+++ b/DistUpgrade/DistUpgradeViewNonInteractive.py
@@ -21,6 +21,7 @@
import apt
import logging
+from DistUpgradeView import DistUpgradeView
class NonInteractiveInstallProgress(apt.progress.InstallProgress):
def error(self, pkg, errormsg):
@@ -28,7 +29,7 @@ class NonInteractiveInstallProgress(apt.progress.InstallProgress):
def conffile(self, current, new):
logging.debug("got a conffile-prompt from dpkg for file: '%s'" % current)
-class NonInteractiveDistUpgradeView(object):
+class NonInteractiveDistUpgradeView(DistUpgradeView):
" non-interactive version of the upgrade view "
def __init__(self):
pass