From f541c94975e8b9b9bbf792fcea2236e15d4c76aa Mon Sep 17 00:00:00 2001 From: Don Penney Date: Fri, 14 Aug 2020 22:15:50 -0400 Subject: [PATCH] Fix UNREMOVABLE parsing in make_patch_functions.py The parsing of the UNREMOVABLE tag in the patch XML is setting the wrong metadata flag. It's setting "removable" instead of "unremovable", meaning the UNREMOVABLE tag has no effect. Change-Id: I6f497a8a76e1c46b33edf896e71ed1266004d964 Closes-Bug: 1891729 Signed-off-by: Don Penney --- cgcs-patch/cgcs-patch/cgcs_make_patch/make_patch_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgcs-patch/cgcs-patch/cgcs_make_patch/make_patch_functions.py b/cgcs-patch/cgcs-patch/cgcs_make_patch/make_patch_functions.py index 7cab3573..6be1d59f 100644 --- a/cgcs-patch/cgcs-patch/cgcs_make_patch/make_patch_functions.py +++ b/cgcs-patch/cgcs-patch/cgcs_make_patch/make_patch_functions.py @@ -1361,7 +1361,7 @@ class PatchRecipeData(object): else: pf.meta.status = STATUS_DEVELOPEMENT if 'UNREMOVABLE' in self.metadata: - pf.meta.removable = self.metadata['UNREMOVABLE'] + pf.meta.unremovable = self.metadata['UNREMOVABLE'] if 'SUMMARY' in self.metadata: pf.meta.summary = self.metadata['SUMMARY'] if 'DESCRIPTION' in self.metadata: