added pypyodbc

This commit is contained in:
mdipierro
2013-02-10 23:28:32 -06:00
parent b5b3fda329
commit 481b6455f3
3 changed files with 1800 additions and 5 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.4.1-alpha.2+timestamp.2013.02.10.23.21.45
Version 2.4.1-alpha.2+timestamp.2013.02.10.23.27.47
File diff suppressed because it is too large Load Diff
+7 -4
View File
@@ -339,10 +339,13 @@ if not 'google' in DRIVERS:
LOGGER.debug('no Oracle driver cx_Oracle')
try:
#try:
import pyodbc
#except ImportError:
# from contrib.pypyodbc import pypyodbc as pyodbc
try:
import pyodbc
except ImportError:
try:
import contrib.pypyodbc as pyodbc
except Exception, e:
raise ImportError(str(e))
DRIVERS.append('MSSQL(pyodbc)')
DRIVERS.append('DB2(pyodbc)')
DRIVERS.append('Teradata(pyodbc)')