Skip to content

Commit

Permalink
[github] Enable extra info for PR URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
embolalia committed May 4, 2014
1 parent dc6a908 commit 1330b4f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion github.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
import os
import re

issueURL = r'https?://(?:www\.)?github.com/([A-z0-9\-]+/[A-z0-9\-]+)/issues/([\d]+)'
issueURL = (r'https?://(?:www\.)?github.com/'
'([A-z0-9\-]+/[A-z0-9\-]+)/'
'(?:issues|pull)/'
'([\d]+)')

def checkConfig(bot):
if not bot.config.has_option('github', 'oauth_token') or not bot.config.has_option('github', 'repo'):
Expand Down

0 comments on commit 1330b4f

Please sign in to comment.