mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-26 22:56:15 +01:00
Remove deprecated 'deletepac' command
This commit is contained in:
parent
59e697e61e
commit
9ca0a5122e
@ -3808,23 +3808,6 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
else:
|
||||
unlock_project(apiurl, prj, msg)
|
||||
|
||||
@cmdln.hide()
|
||||
def do_deletepac(self, subcmd, opts, *args):
|
||||
"""
|
||||
Obsolete command to delete package. Use 'delete' or 'rdelete' now
|
||||
|
||||
See the help output of 'delete' and 'rdelete'.
|
||||
"""
|
||||
|
||||
print("""Command deletepac is obsolete !
|
||||
|
||||
Please use either
|
||||
osc delete for checked out packages or projects
|
||||
or
|
||||
osc rdelete for server side operations.""", file=sys.stderr)
|
||||
|
||||
return 2
|
||||
|
||||
@cmdln.hide()
|
||||
@cmdln.option('-f', '--force', action='store_true',
|
||||
help='deletes a project and its packages')
|
||||
|
Loading…
Reference in New Issue
Block a user