diff options
author | alezakos <electrovesta@gmail.com> | 2013-08-20 00:03:38 +0300 |
---|---|---|
committer | alezakos <electrovesta@gmail.com> | 2013-08-20 00:03:38 +0300 |
commit | a355212d1f89a63bfd8e20aa27cdd332f69d07ed (patch) | |
tree | 43ee96eb532c9090dc1aec97b619fc0b2f60dfea /plugin.py | |
parent | f95af5838758cd528db659078b0b64021333c7a7 (diff) | |
download | supybot_github-a355212d1f89a63bfd8e20aa27cdd332f69d07ed.tar.gz supybot_github-a355212d1f89a63bfd8e20aa27cdd332f69d07ed.tar.bz2 supybot_github-a355212d1f89a63bfd8e20aa27cdd332f69d07ed.zip |
Update plugin.py
Diffstat (limited to 'plugin.py')
-rw-r--r-- | plugin.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -182,7 +182,8 @@ class GithubHandler(BaseHTTPServer.BaseHTTPRequestHandler): if branched: urls = ' (%s)' % (getShortURL(data['compare']),) if 'base_ref' in data: - branchFrom = ' from %s' % (data['base_ref'].split('/',2)[2],) + baseRef = data['base_ref'].split('/',2) + branchFrom = ' from %s' % (baseRef[2],) if data['created'] and not data['forced']: action = "created" elif data['deleted'] and not data['forced']: |