diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-06 12:35:08 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-09 13:39:13 +0000 |
commit | 6f6f51783af0e45ebda4442e33c9de1a3932263c (patch) | |
tree | c0248477700bc8b46b65f3039edefdcde17d7f97 /bitbake/lib/bb/persist_data.py | |
parent | 949c7062b7b4d785e949d483fa46ada824442d53 (diff) | |
download | poky-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.py | 6 |
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 | |||
28 | import warnings | 28 | import warnings |
29 | from bb.compat import total_ordering | 29 | from bb.compat import total_ordering |
30 | from collections import Mapping | 30 | from collections import Mapping |
31 | 31 | import sqlite3 | |
32 | try: | ||
33 | import sqlite3 | ||
34 | except ImportError: | ||
35 | from pysqlite2 import dbapi2 as sqlite3 | ||
36 | 32 | ||
37 | sqlversion = sqlite3.sqlite_version_info | 33 | sqlversion = sqlite3.sqlite_version_info |
38 | if sqlversion[0] < 3 or (sqlversion[0] == 3 and sqlversion[1] < 3): | 34 | if sqlversion[0] < 3 or (sqlversion[0] == 3 and sqlversion[1] < 3): |