aboutsummaryrefslogtreecommitdiffstats
path: root/local/handler
diff options
context:
space:
mode:
authorkongr45gpen <electrovesta@gmail.com>2016-01-20 17:47:25 +0200
committerkongr45gpen <electrovesta@gmail.com>2016-01-20 17:47:25 +0200
commit9ab3fcef5204d5325381b85349e5b8f6c1e62c7b (patch)
tree82c6a3db09514f021a1be9e1ed67db542e59f3ff /local/handler
parent643303860ce80fcbeecb06bc87d5c0ea5c96e4a4 (diff)
downloadsupybot_github-9ab3fcef5204d5325381b85349e5b8f6c1e62c7b.tar.gz
supybot_github-9ab3fcef5204d5325381b85349e5b8f6c1e62c7b.tar.bz2
supybot_github-9ab3fcef5204d5325381b85349e5b8f6c1e62c7b.zip
Resolve issues due to API changes
Diffstat (limited to 'local/handler')
-rw-r--r--local/handler/PushHandler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/local/handler/PushHandler.py b/local/handler/PushHandler.py
index 19bc436..46e57a7 100644
--- a/local/handler/PushHandler.py
+++ b/local/handler/PushHandler.py
@@ -19,7 +19,7 @@ def handle(data, theme):
isTag = True
urls = getShortURL(data['compare'])
- if 'base_ref' in data:
+ if 'base_ref' in data and data['base_ref'] is not None:
base_ref = data['base_ref'].split('/',2)
baseBranch = base_ref[2]
branchFrom = baseBranch

© 2014-2024 Faster IT GmbH | imprint | privacy policy