Chromium Code Reviews| Index: appengine/findit/waterfall/flake/step_mapper.py |
| diff --git a/appengine/findit/waterfall/flake/step_mapper.py b/appengine/findit/waterfall/flake/step_mapper.py |
| index 63c09d7a0cf128327b9f2898236a5b8cebf289f3..a831ee2b16383cb6dca76fbab2601c11f0e80ef9 100644 |
| --- a/appengine/findit/waterfall/flake/step_mapper.py |
| +++ b/appengine/findit/waterfall/flake/step_mapper.py |
| @@ -8,13 +8,14 @@ import os |
| import logging |
| from common.http_client_appengine import HttpClientAppengine as HttpClient |
| +from gae_libs import caches |
| from lib import cache_decorator |
| from waterfall import buildbot |
| from waterfall import swarming_util |
| @cache_decorator.Cached( |
| - namespace='trybots', cacher=cache_decorator.CompressedMemCacher()) |
| + namespace='trybots', cache=caches.CompressedMemCache()) |
| def _LoadTrybots(): # pragma: no cover. |
| """Returns the mapping of Commit Queue trybots to Waterfall buildbots.""" |
| with open(os.path.join(os.path.dirname(__file__), 'trybots.json'), 'r') as f: |
| @@ -167,4 +168,4 @@ def FindMatchingWaterfallStep(build_step): # pragma: no cover. |
| isinstance(output.get('all_tests'), list) and |
| isinstance(output.get('per_iteration_data'), list) and |
| all(isinstance(i, dict) for i in output.get('per_iteration_data')) |
| - ) |
| + ) |
|
wrengr
2016/12/06 21:52:57
not sure what Rietveld is trying to say the change
Sharu Jiang
2016/12/06 23:58:17
it's removing the newline at the end.
|