Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gogs issues fail on additional states #29

Open
kbenzie opened this issue Apr 22, 2018 · 0 comments
Open

Gogs issues fail on additional states #29

kbenzie opened this issue Apr 22, 2018 · 0 comments

Comments

@kbenzie
Copy link
Owner

kbenzie commented Apr 22, 2018

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant