| Index: scripts/slave/recipe_modules/chromium_tests/steps.py
|
| diff --git a/scripts/slave/recipe_modules/chromium_tests/steps.py b/scripts/slave/recipe_modules/chromium_tests/steps.py
|
| index 49618bfc8f4e35dcb92694aac2a14b9d4902a2a0..5464fc9a3ba2be82d461cf5105cd6cac4aa30002 100644
|
| --- a/scripts/slave/recipe_modules/chromium_tests/steps.py
|
| +++ b/scripts/slave/recipe_modules/chromium_tests/steps.py
|
| @@ -551,11 +551,10 @@ class DynamicPerfTests(Test):
|
| return tests
|
|
|
| def _run_sharded(self, api, tests):
|
| - if self._known_devices_file:
|
| - known_devices_file = api.path['build'].join(
|
| - 'site_config', self._known_devices_file)
|
| - else:
|
| - known_devices_file = None
|
| + known_devices_file = (
|
| + api.path['build'].join(
|
| + 'site_config', self._known_devices_file) if self._known_devices_file
|
| + else None)
|
| api.chromium_android.run_sharded_perf_tests(
|
| config=api.json.input(data=tests),
|
| perf_id=self._perf_id,
|
|
|