From 2985050fced89f566079ab60341b0bde40bb0367 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 30 Dec 2014 16:07:08 +0000 Subject: [PATCH] Minor patch --- lib/core/common.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/core/common.py b/lib/core/common.py index be9260d46..b90c81872 100755 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -2928,6 +2928,7 @@ def createGithubIssue(errMsg, excMsg): _ = re.sub(r"'[^']+'", "''", excMsg) _ = re.sub(r"\s+line \d+", "", _) _ = re.sub(r'File ".+?/(\w+\.py)', "\g<1>", _) + _ = re.sub(r".+\Z", "", _) key = hashlib.md5(_).hexdigest()[:8] if key in issues: