diff options
| author | 2019-10-28 14:10:42 +0000 | |
|---|---|---|
| committer | 2019-10-28 14:10:42 +0000 | |
| commit | 7766c889f460a427cd1f3fe5711c32fe2a2bee56 (patch) | |
| tree | 4b7a214ce833b45c6081e19520c3e308a272e40b /modules/git_webhooks/gitea.py | |
| parent | fix relay exception (diff) | |
| signature | ||
support event 'category' for GitLab (e.g. Note events but only for Issues)
Diffstat (limited to 'modules/git_webhooks/gitea.py')
| -rw-r--r-- | modules/git_webhooks/gitea.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git_webhooks/gitea.py b/modules/git_webhooks/gitea.py index 19abd8bf..53172f6f 100644 --- a/modules/git_webhooks/gitea.py +++ b/modules/git_webhooks/gitea.py @@ -72,7 +72,7 @@ class Gitea(object): event_action = None if "action" in data: event_action = "%s/%s" % (event, data["action"]) - return event, event_action + return [event]+([event_action] if event_action else []) def event_categories(self, event): return EVENT_CATEGORIES.get(event, [event]) |
