diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-02-03 18:03:50 +0000 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-02-03 18:03:50 +0000 |
| commit | 0900e0b357b949f3d87c7a885b4c27e92c2f1d3d (patch) | |
| tree | 785c4a07da95e3b29c49f20f59db460b35fcfdd5 /DistUpgrade/DistUpgradeViewNonInteractive.py | |
| parent | bf3614bae92b55fd038923002d4f01307dd72e06 (diff) | |
| download | python-apt-0900e0b357b949f3d87c7a885b4c27e92c2f1d3d.tar.gz | |
* added short sleeps at stratic points
Diffstat (limited to 'DistUpgrade/DistUpgradeViewNonInteractive.py')
| -rw-r--r-- | DistUpgrade/DistUpgradeViewNonInteractive.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/DistUpgrade/DistUpgradeViewNonInteractive.py b/DistUpgrade/DistUpgradeViewNonInteractive.py index 6bd110e4..beb843d2 100644 --- a/DistUpgrade/DistUpgradeViewNonInteractive.py +++ b/DistUpgrade/DistUpgradeViewNonInteractive.py @@ -21,6 +21,7 @@ import apt import logging +import time from DistUpgradeView import DistUpgradeView class NonInteractiveInstallProgress(apt.progress.InstallProgress): @@ -28,6 +29,8 @@ class NonInteractiveInstallProgress(apt.progress.InstallProgress): logging.error("got a error from dpkg for pkg: '%s': '%s'" % (pkg, errormsg)) def conffile(self, current, new): logging.debug("got a conffile-prompt from dpkg for file: '%s'" % current) + def updateInterface(self): + time.sleep(0.1) class NonInteractiveDistUpgradeView(DistUpgradeView): " non-interactive version of the upgrade view " |
