Merge pull request #24939 from rmmh/fix-gen-json

Automatic merge from submit-queue

Fix test-history. RE objects aren't callable.
pull/6/head
k8s-merge-robot 2016-04-28 12:33:27 -07:00
commit 767f436665
1 changed files with 1 additions and 1 deletions

View File

@ -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)