Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
Platform
Development
swh-core
Commits
c9a23524
Unverified
Commit
c9a23524
authored
3 months ago
by
Antoine R. Dumont
Browse files
Options
Downloads
Patches
Plain Diff
swh/cli/db: Fix typo in error message
Refs.
swh/infra/sysadm-environment#5515
parent
2b8ce87b
Branches
master
No related tags found
1 merge request
!403
swh/cli/db: Fix cli to be more explicit in its error reporting
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
swh/core/cli/db.py
+1
-1
1 addition, 1 deletion
swh/core/cli/db.py
with
1 addition
and
1 deletion
swh/core/cli/db.py
+
1
−
1
View file @
c9a23524
...
...
@@ -828,7 +828,7 @@ def handle_cmd_args(
if
do_all
:
raise
ValueError
(
"
Cannot use both
'
all
'
and a specific config target
"
)
if
dbname
:
raise
ValueError
(
"
Cannot use both
'
db
a
name
'
and a specific config target
"
)
raise
ValueError
(
"
Cannot use both
'
dbname
'
and a specific config target
"
)
package
=
module
backends
=
[]
...
...
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