Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2920)

Unified Diff: build/android/pylib/local/device/local_device_instrumentation_test_run.py

Issue 2360693002: instrumentation tests: Stop passing a generator to posixpath.join() (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/local/device/local_device_instrumentation_test_run.py
diff --git a/build/android/pylib/local/device/local_device_instrumentation_test_run.py b/build/android/pylib/local/device/local_device_instrumentation_test_run.py
index cae27b3b26462171a406d644e911ef9500bb2ca6..5f5f409ab544bc5c707999c4e962648396a68389 100644
--- a/build/android/pylib/local/device/local_device_instrumentation_test_run.py
+++ b/build/android/pylib/local/device/local_device_instrumentation_test_run.py
@@ -64,7 +64,7 @@ class LocalDeviceInstrumentationTestRun(
if not d:
return device_root
elif isinstance(d, list):
- return posixpath.join(p if p else device_root for p in d)
+ return posixpath.join(*(p if p else device_root for p in d))
else:
return d
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698