1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-12 23:56:13 +01:00

reworked deleterequest commit (add --all)

* removed superfluous parenthesis
* switched package == None to package is None
This commit is contained in:
lethliel 2019-02-04 14:56:20 +01:00
parent 4b4774872e
commit 0ab8661a8b

View File

@ -1979,7 +1979,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
else:
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.')
if opts.repository: