From: Mike Bayer Date: Sat, 17 Feb 2007 01:49:52 +0000 (+0000) Subject: commented out ImportError for now; will issue new ticket for handling dialect importe... X-Git-Tag: rel_0_3_5~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cf4e15c926af580ae5b052161f264d1d7e67c46;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git commented out ImportError for now; will issue new ticket for handling dialect importerrors more effectively --- diff --git a/lib/sqlalchemy/databases/mssql.py b/lib/sqlalchemy/databases/mssql.py index c9d2025ff4..b9ae115498 100644 --- a/lib/sqlalchemy/databases/mssql.py +++ b/lib/sqlalchemy/databases/mssql.py @@ -114,7 +114,9 @@ def use_default(): if try_use(f): return dbmodule # informational return, so the user knows what he's using. else: - raise ImportError(import_errors) + return None + # cant raise this right now since all dialects need to be importable/loadable + #raise ImportError(import_errors) class MSNumeric(sqltypes.Numeric): @@ -688,5 +690,3 @@ class MSSQLIdentifierPreparer(ansisql.ANSIIdentifierPreparer): #TODO: determin MSSQL's case folding rules return value - -use_default()