minor cleanup
This commit is contained in:
+2
-4
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user