mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-04 14:43:38 +02:00
reworked deleterequest commit (add --all)
* removed superfluous parenthesis * switched package == None to package is None
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user