aboutsummaryrefslogtreecommitdiff
path: root/modules/github.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-01-17 14:50:23 +0000
committerGravatar jesopo2019-01-17 14:50:23 +0000
commit2a7df864ef355a2071f69e911e225ce100ad9a39 (patch)
treec6b07e47d25d8205b1ac6b2b7ab20b77a70a73ad /modules/github.py
parentPrint when we send notices (print_activity.py) (diff)
signature
`ping` events don't need to know `full_name` of repo (github.py)
Diffstat (limited to 'modules/github.py')
-rw-r--r--modules/github.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/github.py b/modules/github.py
index ba00e821..6f2bf79a 100644
--- a/modules/github.py
+++ b/modules/github.py
@@ -205,7 +205,7 @@ class Module(ModuleManager.BaseModule):
elif github_event == "fork":
outputs = self.fork(event, full_name, data)
elif github_event == "ping":
- outputs = self.ping(event, full_name, data)
+ outputs = self.ping(event, data)
elif github_event == "membership":
outputs = self.membership(event, organisation, data)
@@ -229,7 +229,7 @@ class Module(ModuleManager.BaseModule):
except utils.http.HTTPTimeoutException:
return url
- def ping(self, event, full_name, data):
+ def ping(self, event, data):
return ["Received new webhook"]
def _change_count(self, n, symbol, color):