summaryrefslogtreecommitdiffstats
path: root/scripts/oe-selftest
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-06-02 13:12:59 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-03 13:13:29 +0100
commitf1e85d476030b83a748f0d70da5570e28dd8ac0d (patch)
tree3476c1bd27491aa752fa2419af6630d55d3e5ef3 /scripts/oe-selftest
parenta4045424afbb0634bce0e1d22d73839128020983 (diff)
downloadpoky-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/oe-selftest')
0 files changed, 0 insertions, 0 deletions