]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
exceptions...
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 29 May 2006 02:12:53 +0000 (02:12 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 29 May 2006 02:12:53 +0000 (02:12 +0000)
lib/sqlalchemy/databases/sqlite.py

index 4d9f562ae2c8db2509986ba2b7cc98076d4b90ee..f074d02fa9f071da9e479e00059019435c508586 100644 (file)
@@ -148,12 +148,9 @@ class SQLiteDialect(ansisql.ANSIDialect):
 
     def dbapi(self):
         if sqlite is None:
-            raise ArgumentError("Couldn't import sqlite or pysqlite2")
+            raise exceptions.ArgumentError("Couldn't import sqlite or pysqlite2")
         return sqlite
         
-    def push_session(self):
-        raise InvalidRequestError("SQLite doesn't support nested sessions")
-
     def has_table(self, connection, table_name):
         cursor = connection.execute("PRAGMA table_info(" + table_name + ")", {})
         row = cursor.fetchone()