summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-20 14:12:58 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-21 21:00:26 +0100
commit7254eb6b3e8ef504ef2274541dcc55f1d42238c6 (patch)
tree3058c4310d5458dc2453a80e823b8fbe226ac4d9 /lib
parent625565087d8c9e7a6a79b0b4f3e5be2d77d5f100 (diff)
downloadbitbake-7254eb6b3e8ef504ef2274541dcc55f1d42238c6.tar.gz
persist_data: Use a valid exception for missing implementation
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/bb/persist_data.py2
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)