summaryrefslogtreecommitdiffstats
path: root/gitautodeploy/parsers/github.py
diff options
context:
space:
mode:
authorOliver Poignant <oliver@poignant.se>2017-01-08 17:15:58 +0100
committerOliver Poignant <oliver@poignant.se>2017-01-08 17:15:58 +0100
commit465cb9263fb1ffc9ba2d4a912847322920180caa (patch)
tree59932075b5f6426088704abac7c53f8c476da2a4 /gitautodeploy/parsers/github.py
parent324c3518d4b98da5bb660c62fa1503c47139c088 (diff)
downloadGit-Auto-Deploy-origin/HEAD.zip
Git-Auto-Deploy-origin/HEAD.tar.gz
Git-Auto-Deploy-origin/HEAD.tar.bz2
Diffstat (limited to 'gitautodeploy/parsers/github.py')
-rw-r--r--gitautodeploy/parsers/github.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/gitautodeploy/parsers/github.py b/gitautodeploy/parsers/github.py
index 5f2ba5d..a6659bd 100644
--- a/gitautodeploy/parsers/github.py
+++ b/gitautodeploy/parsers/github.py
@@ -1,8 +1,9 @@
-from .common import WebhookRequestParser
+from .base import WebhookRequestParserBase
-class GitHubRequestParser(WebhookRequestParser):
- def get_repo_configs(self, request_headers, request_body, action):
+class GitHubRequestParser(WebhookRequestParserBase):
+
+ def get_matching_projects(self, request_headers, request_body, action):
import json
data = json.loads(request_body)