hub: document deleteExternalRepo arguments
Describe the type of the "info" argument to the delete_external_repo(), and explain the GenericError when the repository does not exist.
This commit is contained in:
parent
5af4cdf297
commit
beb7efc0e3
1 changed files with 6 additions and 1 deletions
|
|
@ -3651,7 +3651,12 @@ def edit_external_repo(info, name=None, url=None):
|
|||
|
||||
|
||||
def delete_external_repo(info):
|
||||
"""Delete an external repo"""
|
||||
"""
|
||||
Remove an external repository for any tags and delete it.
|
||||
|
||||
:param info: external repository name or ID number
|
||||
:raises: GenericError if the repository does not exist.
|
||||
"""
|
||||
|
||||
context.session.assertPerm('admin')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue