Skip to content

Commit de21f26

Browse files
committed
fixup! utils.adb_shell: Improve stability (Py3)
1 parent 8f568b8 commit de21f26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

devlib/utils/android.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ def adb_shell(device, command, timeout=None, check_exit_code=False,
439439
# command failed (https://code.google.com/p/android/issues/detail?id=3254).
440440
# Homogenise this behaviour by running the command then echoing the exit
441441
# code.
442-
parts[-1] += r' ; echo "\n$?"'
442+
parts[-1] += ' ; echo "\n$?"'
443443
try:
444444
raw_output, _ = check_output(parts, timeout, shell=False, combined_output=True)
445445
except subprocess.CalledProcessError as e:

0 commit comments

Comments
 (0)