diff options
author | Diana Clarke <diana.joan.clarke@gmail.com> | 2012-03-17 21:41:58 -0400 |
---|---|---|
committer | Diana Clarke <diana.joan.clarke@gmail.com> | 2012-03-17 21:41:58 -0400 |
commit | 87fc12cc12894440683a80509acca975d3924eea (patch) | |
tree | 926917561b476b549d52d57c38d31dcd948aa129 /lib/sqlalchemy/dialects/sybase/pysybase.py | |
parent | 4a7ee798509e51e21d441243202e30d8067f6144 (diff) | |
download | sqlalchemy-87fc12cc12894440683a80509acca975d3924eea.tar.gz |
typoes in lib/sqlalchemy/dialects
Diffstat (limited to 'lib/sqlalchemy/dialects/sybase/pysybase.py')
-rw-r--r-- | lib/sqlalchemy/dialects/sybase/pysybase.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sqlalchemy/dialects/sybase/pysybase.py b/lib/sqlalchemy/dialects/sybase/pysybase.py index e12cf07dd..dd7b27251 100644 --- a/lib/sqlalchemy/dialects/sybase/pysybase.py +++ b/lib/sqlalchemy/dialects/sybase/pysybase.py @@ -82,10 +82,10 @@ class SybaseDialect_pysybase(SybaseDialect): cursor.execute(statement, param) def _get_server_version_info(self, connection): - vers = connection.scalar("select @@version_number") - # i.e. 15500, 15000, 12500 == (15, 5, 0, 0), (15, 0, 0, 0), - # (12, 5, 0, 0) - return (vers / 1000, vers % 1000 / 100, vers % 100 / 10, vers % 10) + vers = connection.scalar("select @@version_number") + # i.e. 15500, 15000, 12500 == (15, 5, 0, 0), (15, 0, 0, 0), + # (12, 5, 0, 0) + return (vers / 1000, vers % 1000 / 100, vers % 100 / 10, vers % 10) def is_disconnect(self, e, connection, cursor): if isinstance(e, (self.dbapi.OperationalError, |