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)