Fix test-history. RE objects aren't callable.
This commit is contained in:
		@@ -193,7 +193,7 @@ def main(server, match):
 | 
				
			|||||||
    """Collect test info in matching jobs."""
 | 
					    """Collect test info in matching jobs."""
 | 
				
			||||||
    print('Finding tests in jobs matching {} at server {}'.format(
 | 
					    print('Finding tests in jobs matching {} at server {}'.format(
 | 
				
			||||||
        match, server))
 | 
					        match, server))
 | 
				
			||||||
    matcher = re.compile(match)
 | 
					    matcher = re.compile(match).match
 | 
				
			||||||
    tests = get_tests(server, matcher)
 | 
					    tests = get_tests(server, matcher)
 | 
				
			||||||
    with open('tests.json', 'w') as buf:
 | 
					    with open('tests.json', 'w') as buf:
 | 
				
			||||||
        json.dump(tests, buf, sort_keys=True)
 | 
					        json.dump(tests, buf, sort_keys=True)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user