# HG changeset patch # User Alexis S. L. Carvalho # Date 1161115466 10800 # Node ID e4452c3fa7360f0060d33f0893d7937b4708e096 # Parent bf10cd8bc98183f7751901d28a3b5d39cade7092 use ui.readsections in the bugzilla extension diff -r bf10cd8bc981 -r e4452c3fa736 hgext/bugzilla.py --- 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,