Index: build/android/adb_command_line.py |
diff --git a/build/android/adb_command_line.py b/build/android/adb_command_line.py |
index 72f42b6e61e6872394f385579504f018beb20316..e758b092a6438d6e9b5de36e5be744df21718b63 100755 |
--- a/build/android/adb_command_line.py |
+++ b/build/android/adb_command_line.py |
@@ -44,7 +44,7 @@ Otherwise: Writes command-line file. |
def read_flags(device): |
try: |
return device.ReadFile(args.device_path, as_root=as_root).rstrip() |
- except device_errors.AdbCommandFailedError: |
+ except device_errors.CommandFailedError: |
return '' # File might not exist. |
descriptions = all_devices.pMap(lambda d: d.build_description).pGet(None) |