From 5e7df84c4c2bb81148da16749412de0ab4320044 Mon Sep 17 00:00:00 2001 From: Mike McLean Date: May 10 2023 20:02:31 +0000 Subject: list-history: fix [still active] display for edit entries --- diff --git a/cli/koji_cli/commands.py b/cli/koji_cli/commands.py index e4806a1..f992db6 100644 --- a/cli/koji_cli/commands.py +++ b/cli/koji_cli/commands.py @@ -4267,7 +4267,7 @@ def _print_histline(entry, **kwargs): parts.insert(1, "(eid %i)" % event_id) if who: parts.append(who % x) - if create and x['active']: + if (create and x['active']) or (edit and other[-1]['active']): parts.append("[still active]") print(' '.join(parts)) hidden_fields = ['active', 'create_event', 'revoke_event', 'creator_id', 'revoker_id',