-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
cobbler inventory plugin: Convert unicode to str #6923
cobbler inventory plugin: Convert unicode to str #6923
Conversation
d036a31
to
37b20d6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I assume you tested this and it works for you?
Yep, tested it on my setup, works fine ;) |
If nobody objects, I'll merge this tomorrow. |
Backport to stable-6: 💚 backport PR created✅ Backport PR branch: Backported as #6952 🤖 @patchback |
@Algirdas-Z thanks for fixing this! |
* plugins/inventory/cobbler: Convert unicode to str * plugins/inventory/cobbler: Use text_type instead (cherry picked from commit 7020b27)
Backport to stable-7: 💚 backport PR created✅ Backport PR branch: Backported as #6953 🤖 @patchback |
* plugins/inventory/cobbler: Convert unicode to str * plugins/inventory/cobbler: Use text_type instead (cherry picked from commit 7020b27)
…#6923) * plugins/inventory/cobbler: Convert unicode to str * plugins/inventory/cobbler: Use text_type instead
SUMMARY
Explicitly convert AnsibleUnicode to str() before passing it to xmlrpc client
Fixes #6922
ISSUE TYPE
COMPONENT NAME
community.general.cobbler
ADDITIONAL INFORMATION