From 1f9ed4f19e206a6d935ca77d71a1bb63f03988da Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Thu, 19 Sep 2024 01:21:46 -0700 Subject: [PATCH] debug Depends-On: 870 --- .../libraries/rpmtransactionconfigtaskscollector.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/repos/system_upgrade/common/actors/rpmtransactionconfigtaskscollector/libraries/rpmtransactionconfigtaskscollector.py b/repos/system_upgrade/common/actors/rpmtransactionconfigtaskscollector/libraries/rpmtransactionconfigtaskscollector.py index b61dad4873..7210bcb4d6 100644 --- a/repos/system_upgrade/common/actors/rpmtransactionconfigtaskscollector/libraries/rpmtransactionconfigtaskscollector.py +++ b/repos/system_upgrade/common/actors/rpmtransactionconfigtaskscollector/libraries/rpmtransactionconfigtaskscollector.py @@ -22,6 +22,9 @@ def load_tasks(config, logger): # Loads configuration files to_install, to_keep, and to_remove from the given base directory rpms = next(api.consume(DistributionSignedRPM)) rpm_names = [rpm.name for rpm in rpms.items] + print("== in load_tasks ==") + print(config) + print("== exit load_tasks ==") to_install = config['transaction']['to_install'] # we do not want to put into rpm transaction what is already installed (it will go to "to_upgrade" bucket) to_install_filtered = [pkg for pkg in to_install if pkg not in rpm_names] @@ -32,7 +35,7 @@ def load_tasks(config, logger): 'The following packages from "to_install" file will be ignored as they are already installed:' '\n- ' + '\n- '.join(filtered)) - return RpmTransactionTasks( + return RpmransactionTasks( to_install=to_install_filtered, to_keep=config['transaction']['to_keep'], to_remove=config['transaction']['to_remove'])