# HG changeset patch # User Scott Ehlert # Date 1302563605 25200 # Node ID 7b99a52c877a7dea3616ca34547347d08b2a43dd # Parent 17f1eb64522750d396a50d540dca8c53d9c2067d Merged in changes from bugzilla extension in mercurial 1.8.2. diff -r 17f1eb645227 -r 7b99a52c877a bugzilla.py --- a/bugzilla.py Fri Apr 02 16:36:29 2010 -0500 +++ b/bugzilla.py Mon Apr 11 16:13:25 2011 -0700 @@ -485,5 +485,5 @@ else: raise util.Abort(_('hook type %s not supported') % hooktype) except MySQLdb.MySQLError, err: - raise util.Abort(_('database error: %s') % err[1]) + raise util.Abort(_('database error: %s') % err.args[1])