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:
Richard Purdie
2022-04-20 14:12:58 +01:00
parent ff9f30b4c6
commit d796985f80

View File

@@ -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)