Mercurial > hg-stable
changeset 8195:1750510251d0
bugzilla: fix section reading
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 26 Apr 2009 16:50:43 -0500 |
parents | 63c47e4ac617 |
children | b7c85a809a54 |
files | hgext/bugzilla.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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,