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

Unified Diff: build/android/devil/android/sdk/adb_wrapper.py

Issue 1372873003: DeviceUtils: Fix a couple of corner-cases when wrapping commands. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@device-utils-concurrent-md5
Patch Set: rebase Created 5 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 | « build/android/devil/android/device_utils_test.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/devil/android/sdk/adb_wrapper.py
diff --git a/build/android/devil/android/sdk/adb_wrapper.py b/build/android/devil/android/sdk/adb_wrapper.py
index bf68b569170b37f652a401d2803dff284aafa394..77fbdc1128b2af34377bfb5210af11074cc82db6 100644
--- a/build/android/devil/android/sdk/adb_wrapper.py
+++ b/build/android/devil/android/sdk/adb_wrapper.py
@@ -267,7 +267,7 @@ class AdbWrapper(object):
if expect_status is None:
args = ['shell', command]
else:
- args = ['shell', '(%s);echo %%$?' % command.rstrip()]
+ args = ['shell', '( %s );echo %%$?' % command.rstrip()]
output = self._RunDeviceAdbCmd(args, timeout, retries, check_error=False)
if expect_status is not None:
output_end = output.rfind('%')
« no previous file with comments | « build/android/devil/android/device_utils_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698