Merged in changes from bugzilla extension in mercurial 1.8.2.
authorScott Ehlert <ds@alliedmods.net>
Mon Apr 11 16:13:25 2011 -0700 (2011-04-11)
changeset 87b99a52c877a
parent 7 17f1eb645227
child 9 c9623bc6368f
Merged in changes from bugzilla extension in mercurial 1.8.2.
bugzilla.py
     1.1 --- a/bugzilla.py	Fri Apr 02 16:36:29 2010 -0500
     1.2 +++ b/bugzilla.py	Mon Apr 11 16:13:25 2011 -0700
     1.3 @@ -485,5 +485,5 @@
     1.4          else:
     1.5              raise util.Abort(_('hook type %s not supported') % hooktype)
     1.6      except MySQLdb.MySQLError, err:
     1.7 -        raise util.Abort(_('database error: %s') % err[1])
     1.8 +        raise util.Abort(_('database error: %s') % err.args[1])
     1.9