hgext/bugzilla.py
changeset 7280 810ca383da9c
parent 7019 6b1ece890f9a
child 7369 87158be081b8
--- a/hgext/bugzilla.py	Tue Oct 28 19:07:14 2008 +0100
+++ b/hgext/bugzilla.py	Tue Oct 28 19:25:26 2008 +0100
@@ -88,7 +88,7 @@
         self.ui.note(_('query: %s %s\n') % (args, kwargs))
         try:
             self.cursor.execute(*args, **kwargs)
-        except MySQLdb.MySQLError, err:
+        except MySQLdb.MySQLError:
             self.ui.note(_('failed query: %s %s\n') % (args, kwargs))
             raise