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

Unified Diff: build/android/pylib/device/device_utils.py

Issue 233203003: Fix get_device_configuration.py/device_utils.py (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use basestring instead of str or unicode Created 6 years, 8 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/gyp/util/build_device.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/device/device_utils.py
diff --git a/build/android/pylib/device/device_utils.py b/build/android/pylib/device/device_utils.py
index aa42aff3cdb1f72ae029ee53a93cc49a4b0f1694..c8a5c3a48124107fe9142489c6cf999e4d143eb4 100644
--- a/build/android/pylib/device/device_utils.py
+++ b/build/android/pylib/device/device_utils.py
@@ -20,7 +20,7 @@ class DeviceUtils(object):
def __init__(self, device):
self.old_interface = None
- if isinstance(device, str):
+ if isinstance(device, basestring):
self.old_interface = pylib.android_commands.AndroidCommands(device)
elif isinstance(device, adb_wrapper.AdbWrapper):
self.old_interface = pylib.android_commands.AndroidCommands(str(device))
« no previous file with comments | « build/android/gyp/util/build_device.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698