Project

General

Profile

Actions

Bug #8510

closed

rudder-dev github.py uses an invalid regex

Added by Jonathan CLARKE over 8 years ago. Updated about 8 years ago.

Status:
Released
Priority:
N/A
Assignee:
Jonathan CLARKE
Category:
Rudder dev tools
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Traceback (most recent call last):
  File "/home/mergingscript/rudder-dev/quality-assistant", line 92, in <module>
    repo_merge(repo)
  File "/home/mergingscript/rudder-dev/quality-assistant", line 55, in repo_merge
    pr = PR(pr_info['html_url'])
  File "/home/mergingscript/rudder-dev/github.py", line 19, in __init__
    match = re.search(r'.*?://.*?/(.*?)/(.*?)/pull/(\d+)(?:.*)?', url)
  File "/home/mergingscript/venv-rudder-dev/lib/python2.7/re.py", line 142, in search
    return _compile(pattern, flags).search(string)
  File "/home/mergingscript/venv-rudder-dev/lib/python2.7/re.py", line 242, in _compile
    raise error, v # invalid expression
sre_constants.error: nothing to repeat
Actions

Also available in: Atom PDF