Skip to content

Commit

Permalink
Merge pull request ansible#4 from gamuniz/master
Browse files Browse the repository at this point in the history
Fix '\n' injection in system_id
  • Loading branch information
ryanpetrello authored Aug 3, 2018
2 parents 67a0894 + 0d3e89c commit 30b15b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/scan_insights.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def get_system_id(filname):
pass
finally:
f.close()
return system_id
return system_id.strip()


def main():
Expand Down

0 comments on commit 30b15b2

Please sign in to comment.