Commit a563c017 authored by Ryan Hitchman's avatar Ryan Hitchman

Fix test-history. RE objects aren't callable.

parent 7a725418
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment