summaryrefslogtreecommitdiff
path: root/meta
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-02 11:49:10 +0100
commit391cd33720e7d7e8e261193199272739293ad881 (patch)
treeef7040fec80c3ceada1b9943aacf06bffb6b5f4a /meta
parentf9bda8b36decb5a837adcfeb1173092401988801 (diff)
downloadopenembedded-core-391cd33720e7d7e8e261193199272739293ad881.tar.gz
openembedded-core-391cd33720e7d7e8e261193199272739293ad881.tar.bz2
openembedded-core-391cd33720e7d7e8e261193199272739293ad881.zip
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. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
0 files changed, 0 insertions, 0 deletions