Skip to content
Snippets Groups Projects
Commit 72078893 authored by Ajay Panicker's avatar Ajay Panicker
Browse files

Btsnooz doesn't find snooplog sometimes

In the bugreport in b/27274486 comment #11, the line indicating the
beginning of BTSNOOP LOGS was slightly indented thus causing btsnooz
to not find the beginning of the log.

Bug: 27419027
Change-Id: I3b88e6a3f6f2d6c4d3cbbadb0a93cbd7965f56c8
parent 08e57f7c
No related branches found
No related tags found
No related merge requests found
......@@ -147,7 +147,7 @@ def main():
iterator = fileinput.input()
for line in iterator:
if line.startswith('--- BEGIN:BTSNOOP_LOG_SUMMARY'):
if line.find('--- BEGIN:BTSNOOP_LOG_SUMMARY') != -1:
decode_snooz(base64.standard_b64decode(iterator.next()))
sys.exit(0)
sys.stderr.write('No btsnooz section found in bugreport.\n');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment