summaryrefslogtreecommitdiff
path: root/DistUpgrade
diff options
context:
space:
mode:
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)