Gogs issues fail on additional states
Opened this issue · 0 comments
kbenzie commented
A Gogs issue which was closed by being mentioned in a commit message is not longer able to be displayed giving the following error message.
$ git issue show 3
Traceback (most recent call last):
File "/Users/benie/.local/bin/git-issue", line 11, in <module>
load_entry_point('git-issue==0.3.8', 'console_scripts', 'git-issue')()
File "/Users/benie/.local/lib/python/site-packages/git_issue/cli.py", line 507, in main
command(get_service(), **args)
File "/Users/benie/.local/lib/python/site-packages/git_issue/cli.py", line 355, in show
items += issue.events()
File "/Users/benie/.local/lib/python/site-packages/git_issue/gogs.py", line 219, in events
'closed': 'closed'}[state], event))
KeyError: <git_issue.gogs.GogsIssueState object at 0x1114ce510>