diff options
author | Alexandre Fayolle <alexandre.fayolle@logilab.fr> | 2010-01-20 09:16:00 +0100 |
---|---|---|
committer | Alexandre Fayolle <alexandre.fayolle@logilab.fr> | 2010-01-20 09:16:00 +0100 |
commit | a264745f576c39976bb9f64dcaa44c6258ac4c94 (patch) | |
tree | 9f1df6d049b50e853dc7d61332a598f4630ebd25 /db.py | |
parent | f13b40e93b9449f79c688725db721d0463be53f0 (diff) | |
download | logilab-common-a264745f576c39976bb9f64dcaa44c6258ac4c94.tar.gz |
restore pyodbc as the default driver for SQL Server
Diffstat (limited to 'db.py')
-rw-r--r-- | db.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -794,9 +794,9 @@ PREFERED_DRIVERS = { "postgres" : [ 'psycopg2', 'psycopg', 'pgdb', 'pyPgSQL.PgSQL', ], "mysql" : [ 'MySQLdb', ], # 'pyMySQL.MySQL, ], "sqlite" : ['pysqlite2.dbapi2', 'sqlite', 'sqlite3',], - "sqlserver2000" : ['adodbapi', 'pyodbc'], - "sqlserver2005" : ['adodbapi', 'pyodbc'], - "sqlserver2008" : ['adodbapi', 'pyodbc'], + "sqlserver2000" : ['pyodbc', 'adodbapi', ], + "sqlserver2005" : ['pyodbc', 'adodbapi', ], + "sqlserver2008" : ['pyodbc', 'adodbapi', ], } _ADAPTERS = { |