# HG changeset patch # User Alexis S. L. Carvalho # Date 1161115466 10800 # Node ID e4452c3fa7360f0060d33f0893d7937b4708e096 # Parent bf10cd8bc98183f7751901d28a3b5d39cade7092 use ui.readsections in the bugzilla extension diff --git a/hgext/bugzilla.py b/hgext/bugzilla.py --- a/hgext/bugzilla.py +++ b/hgext/bugzilla.py @@ -74,7 +74,7 @@ class bugzilla_2_16(object): 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,