]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
remove __init__ from MySQLDialect_pyodbc 4884/head
authorGord Thompson <gord@gordthompson.com>
Wed, 2 Oct 2019 10:43:25 +0000 (04:43 -0600)
committerGord Thompson <gord@gordthompson.com>
Wed, 2 Oct 2019 10:43:25 +0000 (04:43 -0600)
Fixes: #4869
lib/sqlalchemy/dialects/mysql/pyodbc.py

index e8d2034a1744ce80c0ab21c9dff69b2416a7cb56..17021812c50400749877700ff6fd49cc97963861 100644 (file)
@@ -45,11 +45,6 @@ class MySQLDialect_pyodbc(PyODBCConnector, MySQLDialect):
 
     pyodbc_driver_name = "MySQL"
 
-    def __init__(self, **kw):
-        # deal with http://code.google.com/p/pyodbc/issues/detail?id=25
-        kw.setdefault("convert_unicode", True)
-        super(MySQLDialect_pyodbc, self).__init__(**kw)
-
     def _detect_charset(self, connection):
         """Sniff out the character set in use for connection results."""