Mercurial > hg
changeset 3435:e4452c3fa736
use ui.readsections in the bugzilla extension
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Tue, 17 Oct 2006 17:04:26 -0300 |
parents | bf10cd8bc981 |
children | f29989e9746e |
files | hgext/bugzilla.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/bugzilla.py Tue Oct 17 17:04:25 2006 -0300 +++ b/hgext/bugzilla.py Tue Oct 17 17:04:26 2006 -0300 @@ -74,7 +74,7 @@ timeout = int(self.ui.config('bugzilla', 'timeout', 5)) usermap = self.ui.config('bugzilla', 'usermap') if usermap: - self.ui.readconfig(usermap) + self.ui.readsections(usermap, '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,