mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-25 11:42:12 +01:00
fix wipebinaries
don't do a second wipe all after doing the intended wipe by a filter. Eg: osc wipebinaries home:adrianSuSE -r standard -a i586 --build-disabled wiped first --build-disabled only, but did a second wipe all afterwards
This commit is contained in:
parent
7d54b5c685
commit
efbd032da9
@ -6800,6 +6800,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
codes.append('broken')
|
codes.append('broken')
|
||||||
if opts.unresolvable:
|
if opts.unresolvable:
|
||||||
codes.append('unresolvable')
|
codes.append('unresolvable')
|
||||||
|
if len(codes) == 0:
|
||||||
|
# don't do a second wipe if a filter got specified
|
||||||
if opts.all or opts.repo or opts.arch:
|
if opts.all or opts.repo or opts.arch:
|
||||||
codes.append(None)
|
codes.append(None)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user