mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-13 07:25:10 +00:00
fix couple of f-string mishaps (#11229)
* fix couple of f-string mishaps * add changelog frag * fix insanity
This commit is contained in:
parent
379db770c5
commit
f27839673c
4 changed files with 6 additions and 3 deletions
|
|
@ -583,7 +583,6 @@ def split_xpath_last(xpath):
|
|||
def nsnameToClark(name, namespaces):
|
||||
if ":" in name:
|
||||
(nsname, rawname) = name.split(":")
|
||||
# return "{{%s}}%s" % (namespaces[nsname], rawname)
|
||||
return f"{{{namespaces[nsname]}}}{rawname}"
|
||||
|
||||
# no namespace name here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue