mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-06-03 06:19:59 -04:00
fix some 2to3 breakage on the cx_oracle dialect
This commit is contained in:
@@ -122,6 +122,8 @@ class _LOBMixin(object):
|
||||
return process
|
||||
|
||||
class _NativeUnicodeMixin(object):
|
||||
# Py3K
|
||||
#pass
|
||||
# Py2K
|
||||
def bind_processor(self, dialect):
|
||||
if dialect._cx_oracle_with_unicode:
|
||||
@@ -509,7 +511,6 @@ class OracleDialect_cx_oracle(OracleDialect):
|
||||
for k, v in opts.items():
|
||||
if isinstance(v, unicode):
|
||||
opts[k] = str(v)
|
||||
|
||||
# end Py2K
|
||||
|
||||
if 'mode' in url.query:
|
||||
|
||||
Reference in New Issue
Block a user