##// END OF EJS Templates
configitems: register the 'bugzilla.bzdir' config
Boris Feld -
r33394:a752d2e7 default
parent child Browse files
Show More
@@ -322,6 +322,9 b' configitem = registrar.configitem(config'
322 322 configitem('bugzilla', 'apikey',
323 323 default='',
324 324 )
325 configitem('bugzilla', 'bzdir',
326 default='/var/www/html/bugzilla',
327 )
325 328
326 329 class bzaccess(object):
327 330 '''Base class for access to Bugzilla.'''
@@ -457,8 +460,7 b' class bzmysql(bzaccess):'
457 460 for id in bugs.keys():
458 461 self.ui.status(_(' bug %s\n') % id)
459 462 cmdfmt = self.ui.config('bugzilla', 'notify', self.default_notify)
460 bzdir = self.ui.config('bugzilla', 'bzdir',
461 '/var/www/html/bugzilla')
463 bzdir = self.ui.config('bugzilla', 'bzdir')
462 464 try:
463 465 # Backwards-compatible with old notify string, which
464 466 # took one string. This will throw with a new format
General Comments 0
You need to be logged in to leave comments. Login now