Skip to content

Commit

Permalink
Bug 1365646: fix logic error in try syntax -j handling; r=gps
Browse files Browse the repository at this point in the history
MozReview-Commit-ID: ApKmq9IYRtV
  • Loading branch information
djmitche committed May 17, 2017
1 parent 1ac5efe commit c785716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taskcluster/taskgraph/try_option_syntax.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ def match_test(try_spec, attr_name):
job_try_name = attr('job_try_name')
if job_try_name:
if self.jobs is None or job_try_name in self.jobs:
if self.platforms is None or attr('build_platform') not in self.platforms:
if self.platforms is None or attr('build_platform') in self.platforms:
return True
elif attr('kind') == 'test':
return match_test(self.unittests, 'unittest_try_name') \
Expand Down

0 comments on commit c785716

Please sign in to comment.