summaryrefslogtreecommitdiff
path: root/DistUpgrade
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-04-03 16:27:28 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-04-03 16:27:28 +0200
commitf6ebff3d202238ae73942212b97096535c63b5e1 (patch)
tree56596cc23329845bf6cfb981df27416ca517fb52 /DistUpgrade
parentc6c1a17f269ed651e4165cd2277a2947ee6e1883 (diff)
downloadpython-apt-f6ebff3d202238ae73942212b97096535c63b5e1.tar.gz
* DistUpgrade/DistUpgradeViewNonInteractive.py:
- fix the non-interactive confirmChanges() view method
Diffstat (limited to 'DistUpgrade')
-rw-r--r--DistUpgrade/DistUpgradeView.py2
-rw-r--r--DistUpgrade/DistUpgradeViewNonInteractive.py4
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)