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

Unified Diff: appengine/third_party/python-adb/adb/contrib/high.py

Issue 2405613002: swarming: Enable USB resets in python-adb on the staging instance. (Closed)
Patch Set: move is_staging check to bot_config Created 4 years, 2 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 | « appengine/third_party/python-adb/adb/contrib/adb_commands_safe.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/third_party/python-adb/adb/contrib/high.py
diff --git a/appengine/third_party/python-adb/adb/contrib/high.py b/appengine/third_party/python-adb/adb/contrib/high.py
index 10f9adbf93e64c6c394d3743ac9b814ac2b2d75e..8e3c776770cec21645e05762fadba82a4a3eea04 100644
--- a/appengine/third_party/python-adb/adb/contrib/high.py
+++ b/appengine/third_party/python-adb/adb/contrib/high.py
@@ -274,7 +274,8 @@ def _ConnectFromHandles(handles, as_root=False, **kwargs):
def GetLocalDevices(
- banner, default_timeout_ms, auth_timeout_ms, on_error=None, as_root=False):
+ banner, default_timeout_ms, auth_timeout_ms, on_error=None, as_root=False,
+ enable_resets=False):
"""Returns the list of devices available.
Caller MUST call CloseDevices(devices) on the return value or call .Close() on
@@ -303,7 +304,7 @@ def GetLocalDevices(
return _ConnectFromHandles(handles, banner=banner,
default_timeout_ms=default_timeout_ms,
auth_timeout_ms=auth_timeout_ms, on_error=on_error,
- as_root=as_root)
+ as_root=as_root, enable_resets=enable_resets)
def GetRemoteDevices(banner, endpoints, default_timeout_ms, auth_timeout_ms,
« no previous file with comments | « appengine/third_party/python-adb/adb/contrib/adb_commands_safe.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698