#758 Three issues found in handle_dist_repo()
Closed: Fixed 6 years ago Opened 6 years ago by franzh.

Three issues are found in handle_dist_repo()
1) line 6945: typo error

    parser.errpr(_("Can't find repo for tag: %s") % repo)

2) line 6955: task_opts.arch never becomes None, it is false statement always.

    if task_opts.arch == None:

3) line 6975: if there has 'src' in arch option but no 'noarch' option, the 'src' won't be removed.

    try:
        task_opts.arch.remove('noarch') # handled specifically
        task_opts.arch.remove('src') # ditto
    except ValueError:
        pass

Metadata Update from @franzh:
- Issue assigned to franzh

6 years ago

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

6 years ago

Login to comment on this ticket.

Metadata