mirror of
git://git.yoctoproject.org/poky
synced 2026-08-12 20:41:50 +00:00
bitbake: persist_data: Use a valid exception for missing implementation
(Bitbake rev: 7254eb6b3e8ef504ef2274541dcc55f1d42238c6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
ff9f30b4c6
commit
d796985f80
@ -208,7 +208,7 @@ class SQLTable(collections.abc.MutableMapping):
|
||||
|
||||
def __lt__(self, other):
|
||||
if not isinstance(other, Mapping):
|
||||
raise NotImplemented
|
||||
raise NotImplementedError()
|
||||
|
||||
return len(self) < len(other)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user