aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/persist_data.py
diff options
context:
space:
mode:
authorChris Laplante <chris.laplante@agilent.com>2020-08-25 12:51:41 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-25 18:25:59 +0100
commite2be6defbb9fcf25f9df04c3b452d0dba48dfd03 (patch)
tree2513e832d1f7675d800e2ac29f0fb5b6faa52573 /lib/bb/persist_data.py
parent387a339b330e8122a62a148249beb3f064dd4e3d (diff)
downloadbitbake-e2be6defbb9fcf25f9df04c3b452d0dba48dfd03.tar.gz
compat.py: remove file since it no longer actually implements anything
Now that compat.py just imports Python standard library stuff, get rid of the layer of indirection. Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/persist_data.py')
-rw-r--r--lib/bb/persist_data.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/bb/persist_data.py b/lib/bb/persist_data.py
index 7357ab2d4..5f4fbe350 100644
--- a/lib/bb/persist_data.py
+++ b/lib/bb/persist_data.py
@@ -12,14 +12,14 @@ currently, providing a key/value store accessed by 'domain'.
#
import collections
+import contextlib
+import functools
import logging
import os.path
+import sqlite3
import sys
import warnings
-from bb.compat import total_ordering
from collections import Mapping
-import sqlite3
-import contextlib
sqlversion = sqlite3.sqlite_version_info
if sqlversion[0] < 3 or (sqlversion[0] == 3 and sqlversion[1] < 3):
@@ -28,7 +28,7 @@ if sqlversion[0] < 3 or (sqlversion[0] == 3 and sqlversion[1] < 3):
logger = logging.getLogger("BitBake.PersistData")
-@total_ordering
+@functools.total_ordering
class SQLTable(collections.MutableMapping):
class _Decorators(object):
@staticmethod