From 4422d2689f60ec0ac2d10db07919f746724cd9b3 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Fri, 3 Feb 2006 15:37:57 +0000 Subject: * added MaxRetries to the configuration, retry on update errors as well --- DistUpgrade/DistUpgradeViewNonInteractive.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'DistUpgrade/DistUpgradeViewNonInteractive.py') 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 -- cgit v1.2.3