mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-28 10:46:15 +01:00
reworked deleterequest commit (add --all)
* removed superfluous parenthesis * switched package == None to package is None
This commit is contained in:
parent
4b4774872e
commit
0ab8661a8b
@ -1979,7 +1979,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 == None:
|
if not opts.all and package is None:
|
||||||
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