diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-20 14:12:58 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-21 21:00:35 +0100 |
commit | d796985f804e69d2716a3d900335a53db29f01dd (patch) | |
tree | 59722ce2798612a9d049ee2a6814bcd777be8933 /bitbake | |
parent | ff9f30b4c63fbe4c1a8e3446594f0867e9d089bd (diff) | |
download | poky-d796985f804e69d2716a3d900335a53db29f01dd.tar.gz |
bitbake: persist_data: Use a valid exception for missing implementation
(Bitbake rev: 7254eb6b3e8ef504ef2274541dcc55f1d42238c6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/persist_data.py | 2 |
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 | ||