#1725 koji-gc --ignore-tags doesn't work
Closed: Fixed 4 years ago by tkopecek. Opened 4 years ago 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

4 years ago

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

4 years ago

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

4 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #1726 Merged 4 years ago