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

Unified Diff: build/android/provision_devices.py

Issue 477953002: [Android] Fix misc minor provisioning issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 | « no previous file | build/android/pylib/content_settings.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/provision_devices.py
diff --git a/build/android/provision_devices.py b/build/android/provision_devices.py
index 35cfb814c6fc14fd499fc8cb9d8a8455a0864636..44ae971876e0cb476115bde9a352271233a54ff2 100755
--- a/build/android/provision_devices.py
+++ b/build/android/provision_devices.py
@@ -35,7 +35,7 @@ def KillHostHeartbeat():
matches = re.findall('\\n.*host_heartbeat.*', stdout)
for match in matches:
print 'An instance of host heart beart running... will kill'
- pid = re.findall('(\d+)', match)[1]
+ pid = re.findall('(\d+)', match)[0]
subprocess.call(['kill', str(pid)])
« no previous file with comments | « no previous file | build/android/pylib/content_settings.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698