From fa8ac96d5478fb94a75f49e3321e092cb44fdfe2 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sat, 20 Jun 2020 13:12:08 -0700 Subject: [PATCH] clean_old option was duplicated on clean_empty The --no-old option wouldn't work because the check was checking for --no-empty, and --no-empty was disabling both checks. :) Signed-off-by: Kevin Fenzi --- util/koji-sidetag-cleanup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/koji-sidetag-cleanup b/util/koji-sidetag-cleanup index a77d73da..10a62c6c 100644 --- a/util/koji-sidetag-cleanup +++ b/util/koji-sidetag-cleanup @@ -190,7 +190,7 @@ def delete_tags(tags): def clean_empty(tags): # delete empty tags which are older than --empty-delay - if not options.clean_old: + if not options.clean_empty: return tags passed = [] candidates = []