Chromium Code Reviews| Index: appengine/findit/handlers/config.py |
| diff --git a/appengine/findit/handlers/config.py b/appengine/findit/handlers/config.py |
| index 59b8191482f868db986bb86e1cadc96ae60501e8..a02eb100c71726655f8f6d017ed88e7bc59d1799 100644 |
| --- a/appengine/findit/handlers/config.py |
| +++ b/appengine/findit/handlers/config.py |
| @@ -141,6 +141,9 @@ def _ValidateTrybotMapping(builders_to_trybots): |
| if (trybot_config.has_key('strict_regex') and |
| not isinstance(trybot_config['strict_regex'], bool)): |
| return False |
| + if (trybot_config.has_key('enable_tests') and |
|
stgao
2016/04/16 01:04:04
Is seems we only want to set this field to disable
lijeffrey
2016/04/16 02:57:27
Done.
|
| + not isinstance(trybot_config['enable_tests'], bool)): |
| + return False |
| return True |