1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix CI and jenkins_plugin module (#202)

* Don't import text_type and binary_type from ansible.module_utils._text, but from ansible.module_utils.six.

* Add changelog fragment.
This commit is contained in:
Felix Fontein 2020-04-17 20:46:51 +02:00 committed by GitHub
parent 0c0490298f
commit 2eee9f78a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- jenkins_plugin - make compatible to Ansible 2.10 by fixing import.

View file

@ -266,7 +266,8 @@ from ansible.module_utils.basic import AnsibleModule, to_bytes
from ansible.module_utils.six.moves import http_cookiejar as cookiejar
from ansible.module_utils.six.moves.urllib.parse import urlencode
from ansible.module_utils.urls import fetch_url, url_argument_spec
from ansible.module_utils._text import to_native, text_type, binary_type
from ansible.module_utils.six import text_type, binary_type
from ansible.module_utils._text import to_native
import base64
import hashlib
import json