minor cleanup
This commit is contained in:
1 parent
43ac53f6a1
commit
dba7247b44
2 files changed
+3
-5
No files matched your search
@@ -1 +1 @@
|
|||||||
Version 2.0.3 (2012-08-31 13:37:26) stable
|
Version 2.0.3 (2012-08-31 14:27:45) stable
|
||||||
+2
-4
@@ -583,8 +583,9 @@ class ConnectionPool(object):
|
|||||||
###################################################################################
|
###################################################################################
|
||||||
|
|
||||||
class BaseAdapter(ConnectionPool):
|
class BaseAdapter(ConnectionPool):
|
||||||
|
|
||||||
driver = None
|
driver = None
|
||||||
|
driver_name = None
|
||||||
|
drivers = () # list of drivers from which to pick
|
||||||
maxcharlength = MAXCHARLENGTH
|
maxcharlength = MAXCHARLENGTH
|
||||||
commit_on_alter_table = False
|
commit_on_alter_table = False
|
||||||
support_distributed_transaction = False
|
support_distributed_transaction = False
|
||||||
@@ -2673,8 +2674,6 @@ class JDBCPostgreSQLAdapter(PostgreSQLAdapter):
|
|||||||
class OracleAdapter(BaseAdapter):
|
class OracleAdapter(BaseAdapter):
|
||||||
drivers = ('cx_Oracle',)
|
drivers = ('cx_Oracle',)
|
||||||
|
|
||||||
driver = globals().get('cx_Oracle',None)
|
|
||||||
|
|
||||||
commit_on_alter_table = False
|
commit_on_alter_table = False
|
||||||
types = {
|
types = {
|
||||||
'boolean': 'CHAR(1)',
|
'boolean': 'CHAR(1)',
|
||||||
@@ -5474,7 +5473,6 @@ class IMAPAdapter(NoSQLAdapter):
|
|||||||
}
|
}
|
||||||
|
|
||||||
dbengine = 'imap'
|
dbengine = 'imap'
|
||||||
driver = globals().get('imaplib',None)
|
|
||||||
|
|
||||||
def __init__(self,
|
def __init__(self,
|
||||||
db,
|
db,
|
||||||
|
|||||||
Reference in new issue
Block a user