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

Unified Diff: build/android/tombstones.py

Issue 1123263006: [Android] Fix tombstone output when handling multiple tombstones. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/tombstones.py
diff --git a/build/android/tombstones.py b/build/android/tombstones.py
index c83a584800fc70042e4e1d7d8f7faf22e9cdeb86..dbfe3f76c2887270eeeb90fd02ea31fead5b574c 100755
--- a/build/android/tombstones.py
+++ b/build/android/tombstones.py
@@ -157,12 +157,13 @@ def _ResolveTombstones(jobs, tombstones):
logging.warning('No tombstones to resolve.')
return
if len(tombstones) == 1:
- data = _ResolveTombstone(tombstones[0])
+ data = [_ResolveTombstone(tombstones[0])]
else:
pool = multiprocessing.Pool(processes=jobs)
data = pool.map(_ResolveTombstone, tombstones)
- for d in data:
- logging.info(d)
+ for tombstone in data:
+ for line in tombstone:
+ logging.info(line)
def _GetTombstonesForDevice(device, options):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698