summaryrefslogtreecommitdiff
path: root/db.py
diff options
context:
space:
mode:
authorAlexandre Fayolle <alexandre.fayolle@logilab.fr>2010-01-20 09:16:00 +0100
committerAlexandre Fayolle <alexandre.fayolle@logilab.fr>2010-01-20 09:16:00 +0100
commita264745f576c39976bb9f64dcaa44c6258ac4c94 (patch)
tree9f1df6d049b50e853dc7d61332a598f4630ebd25 /db.py
parentf13b40e93b9449f79c688725db721d0463be53f0 (diff)
downloadlogilab-common-a264745f576c39976bb9f64dcaa44c6258ac4c94.tar.gz
restore pyodbc as the default driver for SQL Server
Diffstat (limited to 'db.py')
-rw-r--r--db.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/db.py b/db.py
index 8e0b3e4..d877217 100644
--- a/db.py
+++ b/db.py
@@ -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 = {