Diff of /branches/branch-1-2/MySQLdb/MySQLdb/connections.py [r379] .. [r380]  Maximize  Restore

  Switch to side-by-side view

--- a/branches/branch-1-2/MySQLdb/MySQLdb/connections.py
+++ b/branches/branch-1-2/MySQLdb/MySQLdb/connections.py
@@ -186,7 +186,7 @@
         Use an SQL BEGIN statement instead."""
         from warnings import warn
         warn("begin() is non-standard and will be removed in 1.3",
-             DeprecationWarning)
+             DeprecationWarning, 2)
         self.query("BEGIN")
         
     if not hasattr(_mysql.connection, 'warning_count'):