Remove pysqlite2 support.
authorZac Medico <zmedico@gentoo.org>
Fri, 26 Jul 2013 07:56:55 +0000 (00:56 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 26 Jul 2013 07:56:55 +0000 (00:56 -0700)
pym/portage/cache/sqlite.py

index 8a9f747cec6f3c7399d70d58dbf80242070064ee..ad8648c6972873eb0ca1a22b331c52b02be28735 100644 (file)
@@ -51,10 +51,7 @@ class database(fs_template.FsBased):
                try:
                        import sqlite3 as db_module
                except ImportError:
-                       try:
-                               from pysqlite2 import dbapi2 as db_module
-                       except ImportError as e:
-                               raise cache_errors.InitializationError(self.__class__, e)
+                       raise cache_errors.InitializationError(self.__class__, e)
 
                self._db_module = db_module
                self._db_error = db_module.Error