]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
get mysql+pyodbc connections to work again
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 20 Aug 2009 22:55:59 +0000 (22:55 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 20 Aug 2009 22:55:59 +0000 (22:55 +0000)
lib/sqlalchemy/dialects/mysql/pyodbc.py

index 1ea7ec8646d96d168ca9590b39bf5fb3e26c5266..96171ee0b5888fa4f75f7bc8faa2db0ae039e1da 100644 (file)
@@ -22,8 +22,7 @@ class MySQL_pyodbc(PyODBCConnector, MySQLDialect):
     def __init__(self, **kw):
         # deal with http://code.google.com/p/pyodbc/issues/detail?id=25
         kw.setdefault('convert_unicode', True)
-        MySQLDialect.__init__(self, **kw)
-        PyODBCConnector.__init__(self, **kw)
+        super(MySQL_pyodbc, self).__init__(**kw)
 
     def _detect_charset(self, connection):
         """Sniff out the character set in use for connection results."""