##// END OF EJS Templates
configitems: register the 'bugzilla.host' config
Boris Feld -
r33402:26e4ba05 default
parent child Browse files
Show More
@@ -346,6 +346,9 b" configitem('bugzilla', 'fixresolution',"
346 configitem('bugzilla', 'fixstatus',
346 configitem('bugzilla', 'fixstatus',
347 default='RESOLVED',
347 default='RESOLVED',
348 )
348 )
349 configitem('bugzilla', 'host',
350 default='localhost',
351 )
349
352
350 class bzaccess(object):
353 class bzaccess(object):
351 '''Base class for access to Bugzilla.'''
354 '''Base class for access to Bugzilla.'''
@@ -421,7 +424,7 b' class bzmysql(bzaccess):'
421
424
422 bzaccess.__init__(self, ui)
425 bzaccess.__init__(self, ui)
423
426
424 host = self.ui.config('bugzilla', 'host', 'localhost')
427 host = self.ui.config('bugzilla', 'host')
425 user = self.ui.config('bugzilla', 'user', 'bugs')
428 user = self.ui.config('bugzilla', 'user', 'bugs')
426 passwd = self.ui.config('bugzilla', 'password')
429 passwd = self.ui.config('bugzilla', 'password')
427 db = self.ui.config('bugzilla', 'db')
430 db = self.ui.config('bugzilla', 'db')
General Comments 0
You need to be logged in to leave comments. Login now