mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-14 17:46:17 +01:00
Fix deletereq for repository
Do not require --all if --repository is given. There are no packages touched when removing a repository for a home project.
This commit is contained in:
parent
88abf11bd3
commit
897c23c0ab
@ -2006,7 +2006,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
else:
|
else:
|
||||||
raise oscerr.WrongArgs('Please specify at least a project.')
|
raise oscerr.WrongArgs('Please specify at least a project.')
|
||||||
|
|
||||||
if not opts.all and package is None:
|
if not opts.all and package is None and not opts.repository:
|
||||||
raise oscerr.WrongOptions('No package name has been provided. Use --all option, if you want to request to delete the entire project.')
|
raise oscerr.WrongOptions('No package name has been provided. Use --all option, if you want to request to delete the entire project.')
|
||||||
|
|
||||||
if opts.repository:
|
if opts.repository:
|
||||||
|
Loading…
Reference in New Issue
Block a user