commit | e0dd9c1293f205fdc98445dc17edf865aac073c8 | [log] [tgz] |
---|---|---|
author | Kweku Adams <kwekua@google.com> | Wed Mar 08 08:12:15 2017 -0800 |
committer | Kweku Adams <kwekua@google.com> | Wed Mar 08 19:19:46 2017 +0000 |
tree | 93cc5c2d82abc8216321379ff8d56e3368c9d28e | |
parent | f72baf17fcf73072fbd9d30740c186a4ac9a289a [diff] |
Surrounding some field names with quotes to avoid breaking CSV assumptions. Some names can include commas, and if they're not surrounded by quotes, then CSV parsing breaks, as was the case in https://github.com/google/battery-historian/issues/94#issuecomment-282790498 and several other circumstances. Test: flashed local device and ran batterystats output through Historian Change-Id: I070c5d873d9f79996a581bf0a5f664136c0af454