From ad11d8f95a8ab4ed31b65dc4914ac67c487ee378 Mon Sep 17 00:00:00 2001 From: Robert Church Date: Tue, 7 Sep 2021 20:02:50 -0400 Subject: [PATCH] Remove code breaking app UTs under py39/Bullseye Remove code that is not needed and is breaking application plugin unit tests under py39 with a Debian Bullseye nodeset. Change-Id: I9512ce183874a4b870b11cbcf3e39e80f3c35ad1 Story: 2009101 Task: 42950 Signed-off-by: Robert Church --- sysinv/sysinv/sysinv/sysinv/helm/helm.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/sysinv/sysinv/sysinv/sysinv/helm/helm.py b/sysinv/sysinv/sysinv/sysinv/helm/helm.py index f4a85033d5..de485b2ecc 100644 --- a/sysinv/sysinv/sysinv/sysinv/helm/helm.py +++ b/sysinv/sysinv/sysinv/sysinv/helm/helm.py @@ -200,7 +200,6 @@ class HelmOperator(object): """Build a dictionary of AppLifecycle operators""" operators_dict = {} - dist_info_dict = {} app_lifecycle_operators = extension.ExtensionManager( namespace=self.STEVEDORE_LIFECYCLE, @@ -217,16 +216,6 @@ class HelmOperator(object): operator_name = operator.name operators_dict[operator_name] = operator.obj - distribution = utils.get_distribution_from_entry_point(operator.entry_point) - (project_name, project_location) = \ - utils.get_project_name_and_location_from_distribution(distribution) - - # Extract distribution information for logging - dist_info_dict[operator_name] = { - 'name': project_name, - 'location': project_location, - } - return operators_dict def get_app_lifecycle_operator(self, app_name):