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: ")