#4685 Tag has no attribute parents
Closed: Fixed by pingou. Opened by pingou.

Here is a traceback we're seeing in production quite often:

URL:    https://pagure.io/gdm/c/e81068a6bf1f3737e8299057c95e1ffd3fe7e37b
...
  File "/usr/lib/python2.7/site-packages/pagure/ui/repo.py", line 848, in view_commit
    if commit.parents:
AttributeError: '_pygit2.Tag' object has no attribute 'parents'

Metadata Update from @pingou:
- Issue set to the milestone: 5.9

Metadata Update from @pingou:
- Issue assigned to pingou

Commit b88d6605 fixes this issue

Metadata
Related Pull Requests