hgext/bugzilla.py
changeset 8142 912bfef12ba6
parent 7985 0edca606c0f1
child 8152 08e1baf924ca
--- a/hgext/bugzilla.py	Thu Apr 23 15:40:10 2009 -0500
+++ b/hgext/bugzilla.py	Thu Apr 23 15:40:10 2009 -0500
@@ -139,7 +139,7 @@
         timeout = int(self.ui.config('bugzilla', 'timeout', 5))
         usermap = self.ui.config('bugzilla', 'usermap')
         if usermap:
-            self.ui.readsections(usermap, 'usermap')
+            self.ui.readconfig(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,