Skip to content

Commit

Permalink
Update get_facts to accept values with colon in fact values
Browse files Browse the repository at this point in the history
  • Loading branch information
shweta83 committed Aug 2, 2024
1 parent fa4bc0f commit 435faa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robottelo/host_helpers/contenthost_mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def get_facts(self):
if result.status == 0:
for line in result.stdout.splitlines():
if ': ' in line:
key, val = line.split(': ')
key, val = line.split(': ', 1)
else:
key = last_key
val = f'{fact_dict[key]} {line}'
Expand Down

0 comments on commit 435faa3

Please sign in to comment.