#742 dict key access fail in koji_cli.commands._build_image
Closed: Fixed 4 years ago Opened 4 years ago by franzh.

line: 5763

    if hasattr(hub_opts, 'optional_arches'):
        hub_opts['optional_arches'] = hub_opts['optional_arches'].split(',')

hub_opts is a dictionary, hasattr() does not work for checking key existence.

Metadata Update from @tkopecek:
- Issue set to the milestone: 1.16

4 years ago

Login to comment on this ticket.