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

Unified Diff: build/android/pylib/utils/parallelizer.py

Issue 294113003: [Android] Convert to DeviceUtils versions of WaitUntilFullyBooted and GetExternalStoragePath. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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 | « build/android/pylib/utils/emulator.py ('k') | build/android/pylib/utils/test_environment.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/utils/parallelizer.py
diff --git a/build/android/pylib/utils/parallelizer.py b/build/android/pylib/utils/parallelizer.py
index 203dc11082b09f2ecdb17546ab3eff784b49f11c..761455223ceee6ddf1466d5ec3363b97b1fb814f 100644
--- a/build/android/pylib/utils/parallelizer.py
+++ b/build/android/pylib/utils/parallelizer.py
@@ -80,7 +80,7 @@ class Parallelizer(object):
"""
self.pGet(None)
- r = Parallelizer(self._orig_objs)
+ r = type(self)(self._orig_objs)
r._objs = [getattr(o, name) for o in self._objs]
return r
@@ -92,7 +92,7 @@ class Parallelizer(object):
"""
self.pGet(None)
- r = Parallelizer(self._orig_objs)
+ r = type(self)(self._orig_objs)
r._objs = [o[index] for o in self._objs]
return r
@@ -116,7 +116,7 @@ class Parallelizer(object):
if not callable(o):
raise AttributeError("'%s' is not callable" % o.__name__)
- r = Parallelizer(self._orig_objs)
+ r = type(self)(self._orig_objs)
r._objs = reraiser_thread.ReraiserThreadGroup(
[reraiser_thread.ReraiserThread(
o, args=args, kwargs=kwargs,
« no previous file with comments | « build/android/pylib/utils/emulator.py ('k') | build/android/pylib/utils/test_environment.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698