diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/prserv/serv.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bitbake/lib/prserv/serv.py b/bitbake/lib/prserv/serv.py index a759fa7417..fa437f964c 100644 --- a/bitbake/lib/prserv/serv.py +++ b/bitbake/lib/prserv/serv.py | |||
@@ -1,7 +1,12 @@ | |||
1 | import os,sys,logging | 1 | import os,sys,logging |
2 | import signal, time, atexit, threading | 2 | import signal, time, atexit, threading |
3 | from SimpleXMLRPCServer import SimpleXMLRPCServer, SimpleXMLRPCRequestHandler | 3 | from SimpleXMLRPCServer import SimpleXMLRPCServer, SimpleXMLRPCRequestHandler |
4 | import xmlrpclib,sqlite3 | 4 | import xmlrpclib |
5 | |||
6 | try: | ||
7 | import sqlite3 | ||
8 | except ImportError: | ||
9 | from pysqlite2 import dbapi2 as sqlite3 | ||
5 | 10 | ||
6 | import bb.server.xmlrpc | 11 | import bb.server.xmlrpc |
7 | import prserv | 12 | import prserv |