Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.extension
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.extension
Commits
619a8b48
Commit
619a8b48
authored
2 years ago
by
Yannick DAYER
Browse files
Options
Downloads
Patches
Plain Diff
[qa] black
parent
d298353d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!150
Revert the url str substitution to modulo instead of format
Pipeline
#70517
passed
2 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/extension/utils.py
+1
-1
1 addition, 1 deletion
bob/extension/utils.py
with
1 addition
and
1 deletion
bob/extension/utils.py
+
1
−
1
View file @
619a8b48
...
@@ -233,7 +233,7 @@ def link_documentation(
...
@@ -233,7 +233,7 @@ def link_documentation(
)
)
except
pkg_resources
.
DistributionNotFound
:
except
pkg_resources
.
DistributionNotFound
:
version
=
"
stable
"
# package is not a runtime dep, only referenced
version
=
"
stable
"
# package is not a runtime dep, only referenced
url
=
s
%
{
"
name
"
:
package_name
,
"
version
"
:
version
}
url
=
s
%
{
"
name
"
:
package_name
,
"
version
"
:
version
}
try
:
try
:
# otherwise, urlopen will fail
# otherwise, urlopen will fail
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment