# HG changeset patch # User Matt Mackall # Date 1240782643 18000 # Node ID 1750510251d05b08ec44d847b5d4d82612e5d4d4 # Parent 63c47e4ac6170f201d5a2d57f25b9ac0afeba0ab bugzilla: fix section reading diff -r 63c47e4ac617 -r 1750510251d0 hgext/bugzilla.py --- a/hgext/bugzilla.py Sun Apr 26 16:50:43 2009 -0500 +++ b/hgext/bugzilla.py Sun Apr 26 16:50:43 2009 -0500 @@ -139,7 +139,7 @@ timeout = int(self.ui.config('bugzilla', 'timeout', 5)) usermap = self.ui.config('bugzilla', 'usermap') if usermap: - self.ui.readconfig(usermap, 'usermap') + self.ui.readconfig(usermap, sections=['usermap']) self.ui.note(_('connecting to %s:%s as %s, password %s\n') % (host, db, user, '*' * len(passwd))) self.conn = MySQLdb.connect(host=host, user=user, passwd=passwd,