From dce2250d14923170c281295588e3e1ac103d6a47 Mon Sep 17 00:00:00 2001 From: Jeremy Roman Date: Tue, 20 Jun 2017 15:37:29 -0400 Subject: [PATCH] Presubmit: Treat changes with Gerrit-style Tbr: header as TBRed. Bug: 735158 Change-Id: I1444f34c84862f542909d0b70c5cdfd02394526c Reviewed-on: https://chromium-review.googlesource.com/541638 Reviewed-by: Aaron Gable Commit-Queue: Jeremy Roman --- presubmit_support.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/presubmit_support.py b/presubmit_support.py index 89518b8b2b..5b179645a0 100755 --- a/presubmit_support.py +++ b/presubmit_support.py @@ -568,7 +568,7 @@ class InputApi(object): @property def tbr(self): """Returns if a change is TBR'ed.""" - return 'TBR' in self.change.tags + return 'TBR' in self.change.tags or self.change.TBRsFromDescription() def RunTests(self, tests_mix, parallel=True): tests = []