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 640f9c8 commit f6c8930
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/validation_workflow/rpm/validation_rpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ def validate_metadata(self, product_type: str) -> None:
key = line.split(':')[0].strip()
if key != 'Description':
print(line)
meta_map[key] = line.split(':', 2)[1].strip()
meta_map[key] = line.split(':', 1)[1].strip()
print(line.split(':', 2))
print(line.split(':', 2)[1].strip())
logging.info(meta_map[key])
print(meta_map)
Expand Down

0 comments on commit f6c8930

Please sign in to comment.