buffet: Pretty print GetDeviceInfo and GetState
Modify the dbus calls for GetDeviceInfo and GetState to
return pretty printed JSON instead of the standard JSON output
(everything on one long line). I think the main users of this
function will be tools like buffet_client that will be displaying
it for human consumption.
TEST=FEATURES=test emerge-${BOARD} buffet
BUG=none
Change-Id: I208f188fa3a8ffe52bd2d3e50289f4e99b8c0dbc
Reviewed-on: https://chromium-review.googlesource.com/263497
Reviewed-by: Alex Vakulenko <avakulenko@chromium.org>
Tested-by: Nathan Bullock <nathanbullock@google.com>
Reviewed-by: Vitaly Buka <vitalybuka@chromium.org>
Commit-Queue: Nathan Bullock <nathanbullock@google.com>
2 files changed
tree: 4646d845bca9a87b21cf94993ce0ad4c55c19ea2
- buffet/