From 4bee4a54306113c5ef5799525db85576113131f6 Mon Sep 17 00:00:00 2001 From: Mike McLean Date: Jun 06 2019 21:03:03 +0000 Subject: fix history display for parallel host_channels updates --- diff --git a/cli/koji_cli/commands.py b/cli/koji_cli/commands.py index 130fb48..d231d52 100644 --- a/cli/koji_cli/commands.py +++ b/cli/koji_cli/commands.py @@ -4135,7 +4135,7 @@ def _print_histline(entry, **kwargs): del x['.related'] bad_edit = None if len(edit) != 1: - bad_edit = "%i elements" % len(edit)+1 + bad_edit = "%i elements" % (len(edit)+1) other = edit[0] #check edit for sanity if create or not other[2]: @@ -4342,7 +4342,7 @@ _table_keys = { 'build_target_config' : ['build_target_id'], 'external_repo_config' : ['external_repo_id'], 'host_config': ['host_id'], - 'host_channels': ['host_id'], + 'host_channels': ['host_id', 'channel_id'], 'tag_external_repos' : ['tag_id', 'external_repo_id'], 'tag_listing' : ['build_id', 'tag_id'], 'tag_packages' : ['package_id', 'tag_id'],