Minor patch

This commit is contained in:
Miroslav Stampar 2014-12-30 16:07:08 +00:00
parent 33508e3bae
commit 2985050fce

View File

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