summaryrefslogtreecommitdiffstats
path: root/debian/patches/0004-fix-cyberark-conjur-import.patch
blob: 0b5a5af1d37ec81f25c049d4b812973fc4348673 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: fix cyberark.conjur import error
Author: Lee Garrett <debian@rocketjump.eu>
Origin: upstream, https://github.com/cyberark/ansible-conjur-collection/commit/1f1886f4f3eef61c85ef3fc1165882a7d8314533
Forwarded: not-needed
Applied-Upstream: https://github.com/cyberark/ansible-conjur-collection/commit/1f1886f4f3eef61c85ef3fc1165882a7d8314533
Reviewed-by: Lee Garrett <debian@rocketjump.eu>
Last-Update: 2024-06-06
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/ansible_collections/cyberark/conjur/plugins/lookup/conjur_variable.py
+++ b/ansible_collections/cyberark/conjur/plugins/lookup/conjur_variable.py
@@ -87,6 +87,7 @@
 
 import os.path
 import socket
+import ansible.module_utils.six.moves.urllib.error as urllib_error
 from ansible.errors import AnsibleError
 from ansible.plugins.lookup import LookupBase
 from base64 import b64encode
@@ -94,7 +95,6 @@
 from os import environ
 from time import sleep
 from ansible.module_utils.six.moves.urllib.parse import quote
-from ansible.module_utils.urls import urllib_error
 from stat import S_IRUSR, S_IWUSR
 from tempfile import gettempdir, NamedTemporaryFile
 import yaml