prserv: fix import of sqlite3
authorMartin Jansa <martin.jansa@gmail.com>
Sun, 15 Jan 2012 21:03:53 +0000 (22:03 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 Jan 2012 16:43:36 +0000 (16:43 +0000)
commit9a57ec705cf5c932d8c2a35852db7a4627c57937
tree3b631dd389ee6bcdb34becc3c7000df36de61e91
parentb4a40c2139e0a8c089ef9aba0796b40470b38e6c
prserv: fix import of sqlite3

* this is used in all other bitbake parts where sqlite3 is used, don't
  know why it wasn't used here, but it fails e.g. on Gentoo
  Traceback (most recent call last):
    File "bin/bitbake", line 39, in <module>
      from bb import cooker
    File "lib/bb/cooker.py", line 39, in <module>
      import prserv.serv
    File "lib/prserv/serv.py", line 4, in <module>
      import xmlrpclib,sqlite3
  ImportError: No module named sqlite3

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/prserv/serv.py