OSDN Git Service

Fix variable unpacking mismatch in bootanalyze.py
authorTom Cherry <tomcherry@google.com>
Thu, 25 Oct 2018 21:22:15 +0000 (14:22 -0700)
committerTom Cherry <tomcherry@google.com>
Thu, 25 Oct 2018 21:22:15 +0000 (14:22 -0700)
commit0c9edf88bf727b10ea41889687d74a1c0d70d9e0
tree7f675c9c6607e0d9702afd3dbdb44959cd6def2e
parent45fdf1f90968795fba45004cb739637e7d6a9173
Fix variable unpacking mismatch in bootanalyze.py

Fix for the below mismatch that I've seen in recent boot time runs

BootAnimEnd time or BootComplete-kernel not captured in both log,
cannot get time diff
    main()
  File "system/extras/boottime_tools/bootanalyze/bootanalyze.py", line 123, in main
    error_time, components_to_monitor)
ValueError: need more than 4 values to unpack

Test: no unpack mismatch in recent runs
Change-Id: I4d39453964b9b4036d6c0aaff6cac1b030865445
boottime_tools/bootanalyze/bootanalyze.py