diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-04-03 16:27:28 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-04-03 16:27:28 +0200 |
| commit | f6ebff3d202238ae73942212b97096535c63b5e1 (patch) | |
| tree | 56596cc23329845bf6cfb981df27416ca517fb52 | |
| parent | c6c1a17f269ed651e4165cd2277a2947ee6e1883 (diff) | |
| download | python-apt-f6ebff3d202238ae73942212b97096535c63b5e1.tar.gz | |
* DistUpgrade/DistUpgradeViewNonInteractive.py:
- fix the non-interactive confirmChanges() view method
| -rw-r--r-- | DistUpgrade/DistUpgradeView.py | 2 | ||||
| -rw-r--r-- | DistUpgrade/DistUpgradeViewNonInteractive.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/DistUpgrade/DistUpgradeView.py b/DistUpgrade/DistUpgradeView.py index 14ac5208..57b94636 100644 --- a/DistUpgrade/DistUpgradeView.py +++ b/DistUpgrade/DistUpgradeView.py @@ -54,7 +54,7 @@ class DistUpgradeView(object): 5. Complete """ pass - def confirmChanges(self, summary, changes, downloadSize): + def confirmChanges(self, summary, changes, downloadSize, actions=None): """ display the list of changed packages (apt.Package) and return if the user confirms them """ diff --git a/DistUpgrade/DistUpgradeViewNonInteractive.py b/DistUpgrade/DistUpgradeViewNonInteractive.py index 7a8fa7eb..dbf38387 100644 --- a/DistUpgrade/DistUpgradeViewNonInteractive.py +++ b/DistUpgrade/DistUpgradeViewNonInteractive.py @@ -60,8 +60,8 @@ class DistUpgradeViewNonInteractive(DistUpgradeView): 5. Complete """ pass - def confirmChanges(self, summary, changes, downloadSize): - DistUpgradeView.confirmChanges(self, summary, changes, downloadSize) + def confirmChanges(self, summary, changes, downloadSize, actions=None): + DistUpgradeView.confirmChanges(self, summary, changes, downloadSize, actions) logging.debug("toinstall: '%s'" % self.toInstall) logging.debug("toupgrade: '%s'" % self.toUpgrade) logging.debug("toremove: '%s'" % self.toRemove) |
