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:
parent
0c0490298f
commit
2eee9f78a6
2 changed files with 4 additions and 1 deletions
2
changelogs/fragments/202-jenkins_plugin-fix-import.yml
Normal file
2
changelogs/fragments/202-jenkins_plugin-fix-import.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- jenkins_plugin - make compatible to Ansible 2.10 by fixing import.
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue