mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +03:00
bugzilla: fix section reading
This commit is contained in:
parent
581beec905
commit
416d312fe5
@ -139,7 +139,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, 'usermap')
|
||||
self.ui.readconfig(usermap, sections=['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,
|
||||
|
Loading…
Reference in New Issue
Block a user