From: Zac Medico Date: Fri, 26 Jul 2013 07:56:55 +0000 (-0700) Subject: Remove pysqlite2 support. X-Git-Tag: v2.2.0_alpha190~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b18a990e60ca08010cfde900c1a2807549b5f134;p=portage.git Remove pysqlite2 support. --- 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