#5552 Traceback about no dict member new_id when accessing commit.hex
Opened by james. Modified

See the downstream issue:

https://forge.fedoraproject.org/infra/tickets/issues/13346

I worked around it by changing https://pagure.io/pagure/blob/master/f/pagure/ui/filters.py#_150 to:

    commit_hash = commit
    # This can traceback, so try
    try:
    # if hasattr(commit_hash, "hex"):
        commit_hash = commit_hash.hex
    except:
        commit_hash = commit

Metadata