Skip to content

Commit

Permalink
Add 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 11, 2024
1 parent 5a2f916 commit 6a709f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validation_workflow/rpm/validation_rpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def validate_metadata(self, product_type: str) -> None:
meta_map = {}
for line in stdout.split('\n'):
key = line.split(':')[0].strip()
if key != 'Description' && 'URL':
if key != 'Description' and key != 'URL':
meta_map[key] = line.split(':', 2)[1].strip()
print(line.split(':', 2)[1].strip())
logging.info(meta_map[key])
Expand Down

0 comments on commit 6a709f9

Please sign in to comment.