Merge pull request #1305 from dirkmueller/totest_redundant
Be more forgiving with ttm ignore comments
This commit is contained in:
commit
ba8a357c4f
@ -245,7 +245,7 @@ class ToTestBase(object):
|
|||||||
refs.add(str(ref))
|
refs.add(str(ref))
|
||||||
if comment['userName'] == 'ttm' and comment['text'] == 'label:unknown_failure':
|
if comment['userName'] == 'ttm' and comment['text'] == 'label:unknown_failure':
|
||||||
labeled = comment['id']
|
labeled = comment['id']
|
||||||
if comment['text'].find('@ttm ignore') >= 0:
|
if re.search(r'@ttm:? ignore', comment['text']):
|
||||||
to_ignore = True
|
to_ignore = True
|
||||||
ignored = len(refs) > 0
|
ignored = len(refs) > 0
|
||||||
for ref in refs:
|
for ref in refs:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user