From 76d95369b4b3a728da659758b8d29af0c16084b5 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Thu, 19 May 2016 14:09:52 -0400 Subject: [PATCH] Fixing thinko on sum matcher --- lib/sumfiles.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/sumfiles.py b/lib/sumfiles.py index 3d25bb6..9ffb821 100644 --- a/lib/sumfiles.py +++ b/lib/sumfiles.py @@ -38,9 +38,9 @@ class DejaResults(object): line = line.rstrip() if not is_racy_file: - m = re.match(sum_matcher, line) # Removing special XFAIL comment added by script. - m = re.sub (' ##\|##.*', '', m) + line = re.sub (' ##\|##.*', '', line) + m = re.match(sum_matcher, line) else: m = re.match (racy_file_matcher, line)