diff options
Diffstat (limited to 'lib/sqlalchemy/dialects/mssql/pymssql.py')
-rw-r--r-- | lib/sqlalchemy/dialects/mssql/pymssql.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/dialects/mssql/pymssql.py b/lib/sqlalchemy/dialects/mssql/pymssql.py index 192e63366..8bc0ad95b 100644 --- a/lib/sqlalchemy/dialects/mssql/pymssql.py +++ b/lib/sqlalchemy/dialects/mssql/pymssql.py @@ -95,7 +95,7 @@ class MSDialect_pymssql(MSDialect): opts['host'] = "%s:%s" % (opts['host'], port) return [[], opts] - def is_disconnect(self, e): + def is_disconnect(self, e, connection, cursor): for msg in ( "Error 10054", "Not connected to any MS SQL server", |