summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-05-10 08:05:36 -1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-05-12 13:41:42 +0100
commit2de11757c4e6ddefbff682c17f8e631a994ac5fc (patch)
tree50d8d92236a577a5b2e5ebf8b76224ce0ac64428 /bitbake
parent1d847bb2cfa0a3db4f2f416d0bdb64ee9926f97f (diff)
downloadpoky-2de11757c4e6ddefbff682c17f8e631a994ac5fc.tar.gz
bitbake: persist_data: Use a valid exception for missing implementation
(Bitbake rev: 1e5c5efa6fe9175b27b21cd7a5b833bd3af55238) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7254eb6b3e8ef504ef2274541dcc55f1d42238c6) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/persist_data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/persist_data.py b/bitbake/lib/bb/persist_data.py
index 9e20a837a4..ce84a15825 100644
--- a/bitbake/lib/bb/persist_data.py
+++ b/bitbake/lib/bb/persist_data.py
@@ -208,7 +208,7 @@ class SQLTable(collections.abc.MutableMapping):
208 208
209 def __lt__(self, other): 209 def __lt__(self, other):
210 if not isinstance(other, Mapping): 210 if not isinstance(other, Mapping):
211 raise NotImplemented 211 raise NotImplementedError()
212 212
213 return len(self) < len(other) 213 return len(self) < len(other)
214 214