mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2026-03-13 08:00:02 +08:00
Errorhandler was broken in cursor
CVSr ----------------------------------------------------------------------
This commit is contained in:
@@ -85,8 +85,7 @@ class BaseCursor:
|
||||
except TypeError, m:
|
||||
if m.args[0] in ("not enough arguments for format string",
|
||||
"not all arguments converted"):
|
||||
self.errorhandler(self.connection, self,
|
||||
ProgrammingError, m.args[0])
|
||||
self.errorhandler(self, ProgrammingError, m.args[0])
|
||||
else:
|
||||
raise
|
||||
self._executed = query
|
||||
|
||||
Reference in New Issue
Block a user