Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-deposit
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-deposit
Commits
8f39669a
Commit
8f39669a
authored
5 years ago
by
Stefano Zacchiroli
Browse files
Options
Downloads
Patches
Plain Diff
admin CLI: avoid redefining deposit name in admin subcommand
parent
11f8bbba
No related branches found
No related tags found
1 merge request
!37
admin CLI: avoid redefining deposit name in admin subcommand
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
swh/deposit/cli/admin.py
+3
-3
3 additions, 3 deletions
swh/deposit/cli/admin.py
with
3 additions
and
3 deletions
swh/deposit/cli/admin.py
+
3
−
3
View file @
8f39669a
...
@@ -180,15 +180,15 @@ def collection_list(ctx):
...
@@ -180,15 +180,15 @@ def collection_list(ctx):
@admin.group
(
'
deposit
'
)
@admin.group
(
'
deposit
'
)
@click.pass_context
@click.pass_context
def
deposit
(
ctx
):
def
adm_
deposit
(
ctx
):
"""
Manipulate deposit.
"""
"""
Manipulate deposit.
"""
pass
pass
@deposit.command
(
'
reschedule
'
)
@
adm_
deposit.command
(
'
reschedule
'
)
@click.option
(
'
--deposit-id
'
,
required
=
True
,
help
=
"
Deposit identifier
"
)
@click.option
(
'
--deposit-id
'
,
required
=
True
,
help
=
"
Deposit identifier
"
)
@click.pass_context
@click.pass_context
def
deposit_reschedule
(
ctx
,
deposit_id
):
def
adm_
deposit_reschedule
(
ctx
,
deposit_id
):
"""
Reschedule the deposit loading
"""
Reschedule the deposit loading
This will:
This will:
...
...
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