diff options
author | Brian Jarrett <celttechie@gmail.com> | 2014-07-10 19:13:53 -0600 |
---|---|---|
committer | Brian Jarrett <celttechie@gmail.com> | 2014-07-12 13:28:16 -0600 |
commit | 5cc0b2b1182b74af3aed9d9e87b135a8941d9c81 (patch) | |
tree | f0d657970821f83a2f548e18c4e238a000bb800b /lib/sqlalchemy/connectors/mxodbc.py | |
parent | 600e6bfb3fa261b98b1ae7237080c8f5e757d09a (diff) | |
download | sqlalchemy-pr/107.tar.gz |
PEP8 style fixes for connectors packagepr/107
Diffstat (limited to 'lib/sqlalchemy/connectors/mxodbc.py')
-rw-r--r-- | lib/sqlalchemy/connectors/mxodbc.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sqlalchemy/connectors/mxodbc.py b/lib/sqlalchemy/connectors/mxodbc.py index 355ef2482..851dc11e8 100644 --- a/lib/sqlalchemy/connectors/mxodbc.py +++ b/lib/sqlalchemy/connectors/mxodbc.py @@ -80,8 +80,8 @@ class MxODBCConnector(Connector): if issubclass(errorclass, MxOdbcWarning): errorclass.__bases__ = (Warning,) warnings.warn(message=str(errorvalue), - category=errorclass, - stacklevel=2) + category=errorclass, + stacklevel=2) else: raise errorclass(errorvalue) return error_handler @@ -135,7 +135,7 @@ class MxODBCConnector(Connector): def _get_direct(self, context): if context: native_odbc_execute = context.execution_options.\ - get('native_odbc_execute', 'auto') + get('native_odbc_execute', 'auto') # default to direct=True in all cases, is more generally # compatible especially with SQL Server return False if native_odbc_execute is True else True |