PR#3813: list-history: fix [still active] display for edit entries
Merges #3813 https://pagure.io/koji/pull-request/3813 Fixes: #3814 https://pagure.io/koji/issue/3814 list-history does not show edits as active when they are
This commit is contained in:
commit
5ae0e251f1
1 changed files with 1 additions and 1 deletions
|
|
@ -4284,7 +4284,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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue