From b18a990e60ca08010cfde900c1a2807549b5f134 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 26 Jul 2013 00:56:55 -0700 Subject: [PATCH] Remove pysqlite2 support. --- pym/portage/cache/sqlite.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pym/portage/cache/sqlite.py b/pym/portage/cache/sqlite.py index 8a9f747ce..ad8648c69 100644 --- a/pym/portage/cache/sqlite.py +++ b/pym/portage/cache/sqlite.py @@ -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 -- 2.26.2