changeset 3425: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 bf10cd8bc981
children f29989e9746e
files hgext/bugzilla.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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,