#2990 list-channels is not working when Koji 1.26 CLI and older hub
Closed: Fixed 2 years ago by tkopecek. Opened 2 years ago by jcupova.

Older hub doesn't have comments in channels.


Metadata Update from @tkopecek:
- Custom field Size adjusted to None
- Issue set to the milestone: 1.26.1

2 years ago

Example traceback:

$ brew --debug list-channels
2021-08-25 10:22:41,751 [DEBUG] koji: Opening new requests session
Traceback (most recent call last):
  File "/home/mikem/Devel/koji/koji/cli2/brew", line 335, in <module>
    rv = locals()[command].__call__(options, session, args)
  File "/home/mikem/Devel/koji/koji/cli/koji_cli/commands.py", line 3002, in anon_handle_list_channels
    channel['comment'] = truncate_string(channel['comment'])
KeyError: 'comment'

Metadata Update from @jcupova:
- Issue tagged with: testing-ready

2 years ago

Metadata Update from @mfilip:
- Issue tagged with: testing-done

2 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #2991 Merged 2 years ago