mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user