diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-06-02 13:12:59 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-03 13:13:29 +0100 |
commit | f1e85d476030b83a748f0d70da5570e28dd8ac0d (patch) | |
tree | 3476c1bd27491aa752fa2419af6630d55d3e5ef3 /scripts/test-remote-image | |
parent | a4045424afbb0634bce0e1d22d73839128020983 (diff) | |
download | poky-f1e85d476030b83a748f0d70da5570e28dd8ac0d.tar.gz |
dirsize: python3: fix TypeError: unorderable types
Python 3 ignores the __cmp__() method and doesn't have cmp() builtin
function. This caused sorted() call to raise
TypeError: unorderable types: Record() < Record()
Removing __cmp__ method and implementing __lt__ should solve the
problem as __lt__ is the only method needed for sort[ed] to work.
(From OE-Core rev: 391cd33720e7d7e8e261193199272739293ad881)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/test-remote-image')
0 files changed, 0 insertions, 0 deletions