Minor update

This commit is contained in:
Miroslav Stampar 2014-11-16 13:34:35 +01:00
parent a827453eb7
commit bb56eb583a

View File

@ -2877,6 +2877,8 @@ def createGithubIssue(errMsg, excMsg):
issues = set(issues) issues = set(issues)
_ = re.sub(r"'[^']+'", "''", excMsg) _ = re.sub(r"'[^']+'", "''", excMsg)
_ = re.sub(r"\s+line \d+", "", _)
_ = re.sub(r'File ".+?/(\w+\.py)', "\g<1>", _)
key = hashlib.md5(_).hexdigest()[:8] key = hashlib.md5(_).hexdigest()[:8]
if key in issues: if key in issues: