#1725 koji-gc --ignore-tags doesn't work
Closed: Fixed by tkopecek. Opened by tkopecek.

There is a typo in filtering code

Traceback (most recent call last):
  File "/usr/sbin/koji-gc", line 921, in <module>
    rv = main(args)
  File "/usr/sbin/koji-gc", line 426, in main
    globals()['handle_' + x]()
  File "/usr/sbin/koji-gc", line 797, in handle_prune
    if not check_tag(tagname):
  File "/usr/sbin/koji-gc", line 228, in check_tag
    if fnmatch.fnmatch(name, options.tag_filter):
  File "/usr/lib64/python2.6/fnmatch.py", line 43, in fnmatch
    return fnmatchcase(name, pat)
  File "/usr/lib64/python2.6/fnmatch.py", line 75, in fnmatchcase
    res = translate(pat)
  File "/usr/lib64/python2.6/fnmatch.py", line 87, in translate
    i, n = 0, len(pat)
TypeError: object of type 'NoneType' has no len()

Metadata Update from @tkopecek:
- Issue assigned to tkopecek

Metadata Update from @tkopecek:
- Custom field Size adjusted to small

PR #1726

Commit 30917fc5 fixes this issue

Commit 71f62894 fixes this issue

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

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/1725

Please continue any further discussion there.

Metadata
Related Pull Requests