hgext/bugzilla.py
changeset 3435 e4452c3fa736
parent 2306 4c67ba93560b
child 3643 b4ad640a3bcf
--- 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,