From 278b25fabf48e0b663603075d612cfe38277bc49 Mon Sep 17 00:00:00 2001 From: Divya Madala Date: Fri, 6 Sep 2024 17:35:11 -0700 Subject: [PATCH] Test rpm metadata changes Signed-off-by: Divya Madala --- src/validation_workflow/rpm/validation_rpm.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/validation_workflow/rpm/validation_rpm.py b/src/validation_workflow/rpm/validation_rpm.py index ffcc694328..862a250306 100644 --- a/src/validation_workflow/rpm/validation_rpm.py +++ b/src/validation_workflow/rpm/validation_rpm.py @@ -117,10 +117,10 @@ def validate_signature(self) -> None: for line in stdout.split('\n'): key = line.split(':')[0].strip() print(key) -# #if (key == os.path.join(self.tmp_dir.path, self.filename)): -# # continue + if (key == os.path.join(self.tmp_dir.path, self.filename)): + continue var = line.split(':')[1].strip() - logging.info(var) + logging.info(f"var:{var}") logging.info(f"{key} is validated as: {line}") present_key.append(key) logging.info("Validation of all key digests starts: ")