Index: build/android/pylib/local/device/local_device_perf_test_run.py |
diff --git a/build/android/pylib/local/device/local_device_perf_test_run.py b/build/android/pylib/local/device/local_device_perf_test_run.py |
index 11b904fb8bed309653976e5494ce574001649e00..d6bf36899062bc77350fe1c87e71ae13de526613 100644 |
--- a/build/android/pylib/local/device/local_device_perf_test_run.py |
+++ b/build/android/pylib/local/device/local_device_perf_test_run.py |
@@ -344,7 +344,7 @@ class LocalDevicePerfTestRun(local_device_test_run.LocalDeviceTestRun): |
str(self._devices[shard_id]), self._env.blacklist): |
logging.warning('Device %s is not active. Will not create shard %s.', |
str(self._devices[shard_id]), shard_id) |
- return [] |
+ return None |
s = TestShard(self._env, self._test_instance, self._devices[shard_id], |
shard_id, self._test_buckets[shard_id], |
retries=self._env.max_tries, timeout=self._timeout) |