summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/persist_data.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-06 12:35:08 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-09 13:39:13 +0000
commit6f6f51783af0e45ebda4442e33c9de1a3932263c (patch)
treec0248477700bc8b46b65f3039edefdcde17d7f97 /bitbake/lib/bb/persist_data.py
parent949c7062b7b4d785e949d483fa46ada824442d53 (diff)
downloadpoky-6f6f51783af0e45ebda4442e33c9de1a3932263c.tar.gz
bitbake: prserv/persist_data/utils: Drop obsolete python2 imports
These imports were from python 2.6 and earlier, 2.4 in some cases. Drop them since we're all python3 now. (Bitbake rev: 7ef12684e8647b006bf46cae695069d4bfece1cf) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/persist_data.py')
-rw-r--r--bitbake/lib/bb/persist_data.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/bitbake/lib/bb/persist_data.py b/bitbake/lib/bb/persist_data.py
index e6bbff88ea..bef7018614 100644
--- a/bitbake/lib/bb/persist_data.py
+++ b/bitbake/lib/bb/persist_data.py
@@ -28,11 +28,7 @@ import sys
28import warnings 28import warnings
29from bb.compat import total_ordering 29from bb.compat import total_ordering
30from collections import Mapping 30from collections import Mapping
31 31import sqlite3
32try:
33 import sqlite3
34except ImportError:
35 from pysqlite2 import dbapi2 as sqlite3
36 32
37sqlversion = sqlite3.sqlite_version_info 33sqlversion = sqlite3.sqlite_version_info
38if sqlversion[0] < 3 or (sqlversion[0] == 3 and sqlversion[1] < 3): 34if sqlversion[0] < 3 or (sqlversion[0] == 3 and sqlversion[1] < 3):