diff options
author | Elliot Smith <elliot.smith@intel.com> | 2016-01-15 13:00:59 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-15 16:30:00 +0000 |
commit | 112f3746cdaa09c1d7492954e82c2c7158ddae3d (patch) | |
tree | 886ce9c4feb8350c8789e89b6dfb272c4f37c50a /bitbake/lib/toaster/toastergui/tables.py | |
parent | e024aab39cc75d8c0c6068bae07dfb0e758e7157 (diff) | |
download | poky-112f3746cdaa09c1d7492954e82c2c7158ddae3d.tar.gz |
bitbake: toastergui: serialise decimals correctly
The conversion of some ToasterTable Build object querysets to
JSON caused a serialisation error. This is because one of the
fields in the queryset was of type decimal.Decimal, and our
serialiser didn't know what to do with it.
Add a clause to check for decimal fields and serialise them
so that correct JSON can be generated.
(Bitbake rev: fa6229d4edf5904ccaa9dc323d0ab2318d1ef314)
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/tables.py')
0 files changed, 0 insertions, 0 deletions