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

Unified Diff: build/android/tombstones.py

Issue 794583004: Reland of Migrate DeviceUtils.ReadFile to adb_wrapper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: command line file should be read as_root Created 6 years 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
Index: build/android/tombstones.py
diff --git a/build/android/tombstones.py b/build/android/tombstones.py
index fd060ad5175f4ede192ade78ab4b15696051ccbb..94f76f1f74d130e3d85024b0f3d42027b64fdb45 100755
--- a/build/android/tombstones.py
+++ b/build/android/tombstones.py
@@ -63,7 +63,8 @@ def _GetTombstoneData(device, tombstone_file):
Returns:
A list of lines
"""
- return device.ReadFile('/data/tombstones/' + tombstone_file, as_root=True)
+ return device.ReadFile(
+ '/data/tombstones/' + tombstone_file, as_root=True).splitlines()
def _EraseTombstone(device, tombstone_file):

Powered by Google App Engine
This is Rietveld 408576698