Skip to content
This repository has been archived by the owner on Jul 20, 2020. It is now read-only.

no handling for change-deleted hook #10

Open
jf-ct opened this issue Nov 8, 2018 · 1 comment
Open

no handling for change-deleted hook #10

jf-ct opened this issue Nov 8, 2018 · 1 comment
Assignees

Comments

@jf-ct
Copy link
Contributor

jf-ct commented Nov 8, 2018

https://gerrit.googlesource.com/plugins/hooks/+/refs/heads/stable-2.15/src/main/resources/Documentation/hooks.md#change_deleted

Traceback (most recent call last):
  File "...", line ..., in <module>
    gerrit_parser = gerrit_hooks.build_parser_for(args.gerrit_event)
  File "/usr/local/lib/python3.5/dist-packages/gerrit_hooks/hook.py", line 37, in build_parser_for
    cli_flags = HookFlagDefinitions()[hook_type]
  File "/usr/local/lib/python3.5/dist-packages/gerrit_hooks/containers.py", line 172, in __getitem__
    flag_string = self.__mapping__[item]
KeyError: 'change-deleted'
@deepbrook
Copy link
Owner

Should be fixed in the latest release!

@deepbrook deepbrook self-assigned this Nov 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants