diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-05-10 08:05:36 -1000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-05-12 13:41:35 +0100 |
commit | 1e5c5efa6fe9175b27b21cd7a5b833bd3af55238 (patch) | |
tree | 0f75ca8c37e6d75239fc4712c75170ac63585212 | |
parent | 00f10fe95393728e94339f3512171ebab96f1900 (diff) | |
download | bitbake-1e5c5efa6fe9175b27b21cd7a5b833bd3af55238.tar.gz |
persist_data: Use a valid exception for missing implementation
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>
-rw-r--r-- | lib/bb/persist_data.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/persist_data.py b/lib/bb/persist_data.py index 9e20a837a..ce84a1582 100644 --- a/lib/bb/persist_data.py +++ b/lib/bb/persist_data.py @@ -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) |