AttributeError: show_warnings
MySQL database connector for Python programming
Brought to you by:
adustman
stack trace:
...
File 'build/bdist.linux-x86_64/egg/MySQLdb/cursors.py', line 184 in execute
File 'build/bdist.linux-x86_64/egg/MySQLdb/cursors.py', line 90 in _warning_check
AttributeError: show_warnings
patch:
Index: cursors.py
===================================================================
--- cursors.py (revision 629)
+++ cursors.py (working copy)
@@ -1,3 +1,4 @@
+# -- coding: utf-8 --
"""
MySQLdb Cursors
@@ -87,7 +88,7 @@
"""Check for warnings, and report via the warnings module."""
from warnings import warn
if self._warnings:
This is now fixed in trunk by change 633. It doesn't affect 1.2br.