From f6ebff3d202238ae73942212b97096535c63b5e1 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 3 Apr 2006 16:27:28 +0200 Subject: * DistUpgrade/DistUpgradeViewNonInteractive.py: - fix the non-interactive confirmChanges() view method --- DistUpgrade/DistUpgradeView.py | 2 +- DistUpgrade/DistUpgradeViewNonInteractive.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'DistUpgrade') 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) -- cgit v1.2.3