From 961e135324f9c65bdd41baee7e68bc2d8854d92f Mon Sep 17 00:00:00 2001 From: adustman Date: Wed, 16 Aug 2000 19:29:58 +0000 Subject: [PATCH] Argh --- mysql/MySQLdb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mysql/MySQLdb.py b/mysql/MySQLdb.py index b458211..af2b626 100644 --- a/mysql/MySQLdb.py +++ b/mysql/MySQLdb.py @@ -149,7 +149,7 @@ def escape_dict(d, qc): def _fetchall(result, *args): rows = r = list(apply(result.fetch_row, args)) while 1: - rows = apply(result.fetch_row, args)) + rows = apply(result.fetch_row, args) if not rows: break r.extend(list(rows)) return r @@ -266,7 +266,7 @@ class CursorWarningMixIn: if self._info: warnings = atoi(split(self._info)[-1]) if warnings: - raise Warning, self.info + raise Warning, self._info class CursorStoreResultMixIn: