minor cleanup

This commit is contained in:
mdipierro
2012-08-31 14:27:50 -05:00
parent 43ac53f6a1
commit dba7247b44
3 changed files with 5 additions and 7 deletions
+2 -4
View File
@@ -583,8 +583,9 @@ class ConnectionPool(object):
###################################################################################
class BaseAdapter(ConnectionPool):
driver = None
driver_name = None
drivers = () # list of drivers from which to pick
maxcharlength = MAXCHARLENGTH
commit_on_alter_table = False
support_distributed_transaction = False
@@ -2673,8 +2674,6 @@ class JDBCPostgreSQLAdapter(PostgreSQLAdapter):
class OracleAdapter(BaseAdapter):
drivers = ('cx_Oracle',)
driver = globals().get('cx_Oracle',None)
commit_on_alter_table = False
types = {
'boolean': 'CHAR(1)',
@@ -5474,7 +5473,6 @@ class IMAPAdapter(NoSQLAdapter):
}
dbengine = 'imap'
driver = globals().get('imaplib',None)
def __init__(self,
db,