url_match
-> event["match"]
This commit is contained in:
parent
5ab4c6cbff
commit
f066dbb232
1 changed files with 2 additions and 2 deletions
|
@ -234,8 +234,8 @@ class Module(ModuleManager.BaseModule):
|
||||||
:pattern: https?://github.com/([^/]+)/([^/]+)/(pull|issues)/(\d+)
|
:pattern: https?://github.com/([^/]+)/([^/]+)/(pull|issues)/(\d+)
|
||||||
"""
|
"""
|
||||||
if event["target"].get_setting("auto-github", False):
|
if event["target"].get_setting("auto-github", False):
|
||||||
ref = "%s/%s#%s" % (
|
ref = "%s/%s#%s" % (event["match"].group(1),
|
||||||
url_match.group(1), url_match.group(2), url_match.group(4))
|
event["match"].group(2), event["match"].group(4))
|
||||||
try:
|
try:
|
||||||
result = self._get_info(event["target"], ref)
|
result = self._get_info(event["target"], ref)
|
||||||
except utils.EventError:
|
except utils.EventError:
|
||||||
|
|
Loading…
Reference in a new issue