From 5ee6f9d8a96215b7f88d43f16a5dd26a290c52f3 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Jun 20 2020 20:12:08 +0000 Subject: 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 --- diff --git a/util/koji-sidetag-cleanup b/util/koji-sidetag-cleanup index a77d73d..10a62c6 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 = []