Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove whitespaces in vendor and os_vendor #33

Closed
wants to merge 2 commits into from
Closed

Remove whitespaces in vendor and os_vendor #33

wants to merge 2 commits into from

Conversation

jefvantongerloo
Copy link

@jefvantongerloo jefvantongerloo commented Jan 18, 2021

Reference issues/PRs

Get_facts items contains leading and trailing whitespaces #36

Fixes

Removes heading and trailing spaces from the vendor and os_version attribute used by the get_facts module.

Example

output before:
{'vendor': 'Alcatel-Lucent Enterprise ', 'os_version': ' 8.6.289.R01 GA, July 13, 2019.'}
output after:
{'vendor': 'Alcatel-Lucent Enterprise', 'os_version': '8.6.289.R01 GA, July 13, 2019.'}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant