Skip to content

Commit

Permalink
Merge pull request #1305 from dirkmueller/totest_redundant
Browse files Browse the repository at this point in the history
Be more forgiving with ttm ignore comments
  • Loading branch information
lnussel committed Dec 20, 2017
2 parents ce7c0d9 + dce1612 commit ba8a357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion totest-manager.py
Expand Up @@ -245,7 +245,7 @@ def overall_result(self, snapshot):
refs.add(str(ref))
if comment['userName'] == 'ttm' and comment['text'] == 'label:unknown_failure':
labeled = comment['id']
if comment['text'].find('@ttm ignore') >= 0:
if re.search(r'@ttm:? ignore', comment['text']):
to_ignore = True
ignored = len(refs) > 0
for ref in refs:
Expand Down

0 comments on commit ba8a357

Please sign in to comment.