summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/prserv
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/prserv
parent949c7062b7b4d785e949d483fa46ada824442d53 (diff)
downloadpoky-6f6f51783af0e45ebda4442e33c9de1a3932263c.tar.gz
poky-6f6f51783af0e45ebda4442e33c9de1a3932263c.tar.bz2
poky-6f6f51783af0e45ebda4442e33c9de1a3932263c.zip
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/prserv')
-rw-r--r--bitbake/lib/prserv/serv.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/bitbake/lib/prserv/serv.py b/bitbake/lib/prserv/serv.py
index d9b602f14c..a7efa58bc7 100644
--- a/bitbake/lib/prserv/serv.py
+++ b/bitbake/lib/prserv/serv.py
@@ -5,12 +5,7 @@ import threading
import queue
import socket
import io
-
-try:
- import sqlite3
-except ImportError:
- from pysqlite2 import dbapi2 as sqlite3
-
+import sqlite3
import bb.server.xmlrpc
import prserv
import prserv.db