Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.devtools
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.devtools
Merge requests
!173
Use format string rather than f string in bootstrap.py
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Use format string rather than f string in bootstrap.py
59_fix_use_of_f_string
into
master
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Use format string rather than f string in bootstrap.py
Samuel GAIST
requested to merge
59_fix_use_of_f_string
into
master
Oct 20, 2020
Overview
0
Commits
1
Pipelines
1
Changes
1
Python 3.6 syntax cannot be used yet
Fixes
#59 (closed)
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
271359ff
1 commit,
Oct 20, 2020
1 file
+
3
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
bob/devtools/bootstrap.py
+
3
−
1
View file @ 271359ff
Edit in single-file editor
Open in Web IDE
Show full file
@@ -338,7 +338,9 @@ def get_channels(public, stable, server, intranet, group):
channels_dict
[
"
private/stable
"
]
=
channels
[
-
1
]
upload_channel
=
channels_dict
[
f
"
{
'
public
'
if
public
else
'
private
'
}
/
{
'
stable
'
if
stable
else
'
beta
'
}
"
"
{}/{}
"
.
format
(
"
public
"
if
public
else
"
private
"
,
"
stable
"
if
stable
else
"
beta
"
)
]
return
channels
,
upload_channel
Loading