1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-21 01:36:16 +02: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:
Adrian Schröter 2017-04-24 16:35:15 +02:00
parent 7d54b5c685
commit efbd032da9

View File

@ -6800,6 +6800,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
codes.append('broken')
if opts.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:
codes.append(None)