aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-06-24 18:18:42 +0100
committerGravatar jesopo2019-06-24 18:18:42 +0100
commitdd6b0fdfbd82b6f04f9bf86e2408382963b22b58 (patch)
tree9d4eeccf797e20d6d10a7a54ac70b1eaab0c8e77 /modules
parentremove use of _short_url in gitea.py (diff)
signature
set git_webhooks _name to something nicer ("Webhooks")
Diffstat (limited to 'modules')
-rw-r--r--modules/git_webhooks/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/git_webhooks/__init__.py b/modules/git_webhooks/__init__.py
index 8ca1ae22..6ca058ff 100644
--- a/modules/git_webhooks/__init__.py
+++ b/modules/git_webhooks/__init__.py
@@ -18,6 +18,8 @@ DEFAULT_EVENT_CATEGORIES = [
"help": "Hide/show command-like prefix on git webhook outputs",
"validate": utils.bool_or_none, "example": "on"})
class Module(ModuleManager.BaseModule):
+ _name = "Webhooks"
+
def on_load(self):
self._github = github.GitHub()
self._gitea = gitea.Gitea()