Mercurial > hg-stable
diff hgext/bugzilla.py @ 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 | 4c67ba93560b |
children | b4ad640a3bcf |
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,