Skip to content
Snippets Groups Projects
Commit d298353d authored by Yannick DAYER's avatar Yannick DAYER
Browse files

Revert the str substitution to % instead of format

parent 515404b0
No related branches found
No related tags found
1 merge request!150Revert the url str substitution to modulo instead of format
Pipeline #70516 failed
......@@ -233,7 +233,7 @@ def link_documentation(
)
except pkg_resources.DistributionNotFound:
version = "stable" # package is not a runtime dep, only referenced
url = s.format(name=package_name, version=version)
url = s % {"name":package_name, "version":version}
try:
# otherwise, urlopen will fail
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment