Removed the redundant unicode prefixes (#8087)
* removed redundant unicode prefixes * added changelog fragment * Update changelogs/fragments/8087-removed-redundant-unicode-prefixes.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de>pull/8102/head
parent
17e275bc0b
commit
226207522e
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- "revbitspss lookup plugin - removed a redundant unicode prefix. The prefix was not necessary for Python 3 and has been cleaned up to streamline the code (https://github.com/ansible-collections/community.general/pull/8087)."
|
|
@ -100,7 +100,7 @@ class LookupModule(LookupBase):
|
|||
result = []
|
||||
for term in terms:
|
||||
try:
|
||||
display.vvv(u"Secret Server lookup of Secret with ID %s" % term)
|
||||
display.vvv("Secret Server lookup of Secret with ID %s" % term)
|
||||
result.append({term: secret_server.get_pam_secret(term)})
|
||||
except Exception as error:
|
||||
raise AnsibleError("Secret Server lookup failure: %s" % error.message)
|
||||
|
|
Loading…
Reference in New Issue