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
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');