diff options
Diffstat (limited to 'gitautodeploy/parsers/bitbucket.py')
-rw-r--r-- | gitautodeploy/parsers/bitbucket.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gitautodeploy/parsers/bitbucket.py b/gitautodeploy/parsers/bitbucket.py index b80f6aa..8905bfc 100644 --- a/gitautodeploy/parsers/bitbucket.py +++ b/gitautodeploy/parsers/bitbucket.py @@ -1,8 +1,9 @@ -from .common import WebhookRequestParser +from .base import WebhookRequestParserBase -class BitBucketRequestParser(WebhookRequestParser): - def get_repo_configs(self, request_headers, request_body, action): +class BitBucketRequestParser(WebhookRequestParserBase): + + def get_matching_projects(self, request_headers, request_body, action): import json data = json.loads(request_body) |