| changeset 8 | 7b99a52c877a |
| parent 6 | bb7c01182512 |
| child 9 | c9623bc6368f |
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