Skip to content

Commit

Permalink
Test rpm metadata changes
Browse files Browse the repository at this point in the history
Signed-off-by: Divya Madala <[email protected]>
  • Loading branch information
Divyaasm committed Sep 7, 2024
1 parent 278b25f commit 60b5ddf
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/validation_workflow/rpm/validation_rpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,11 @@ def validate_signature(self) -> None:
print(key)
if (key == os.path.join(self.tmp_dir.path, self.filename)):
continue
var = line.split(':')[1].strip()
logging.info(f"var:{var}")
logging.info(f"{key} is validated as: {line}")
present_key.append(key)
else:
var = line.split(':')[1].strip()
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: ")
for digest in key_list:
if digest in present_key:
Expand Down

0 comments on commit 60b5ddf

Please sign in to comment.