From a563c0173c3ec67d2cca3e00d04a2bed4c7ce9da Mon Sep 17 00:00:00 2001 From: Ryan Hitchman Date: Thu, 28 Apr 2016 10:56:12 -0700 Subject: [PATCH] Fix test-history. RE objects aren't callable. --- hack/jenkins/test-history/gen_json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/jenkins/test-history/gen_json.py b/hack/jenkins/test-history/gen_json.py index 69d33a249c..72b47b6b03 100755 --- a/hack/jenkins/test-history/gen_json.py +++ b/hack/jenkins/test-history/gen_json.py @@ -193,7 +193,7 @@ def main(server, match): """Collect test info in matching jobs.""" print('Finding tests in jobs matching {} at server {}'.format( match, server)) - matcher = re.compile(match) + matcher = re.compile(match).match tests = get_tests(server, matcher) with open('tests.json', 'w') as buf: json.dump(tests, buf, sort_keys=True)