Show More
@@ -322,6 +322,9 b' configitem = registrar.configitem(config' | |||||
322 | configitem('bugzilla', 'apikey', |
|
322 | configitem('bugzilla', 'apikey', | |
323 | default='', |
|
323 | default='', | |
324 | ) |
|
324 | ) | |
|
325 | configitem('bugzilla', 'bzdir', | |||
|
326 | default='/var/www/html/bugzilla', | |||
|
327 | ) | |||
325 |
|
328 | |||
326 | class bzaccess(object): |
|
329 | class bzaccess(object): | |
327 | '''Base class for access to Bugzilla.''' |
|
330 | '''Base class for access to Bugzilla.''' | |
@@ -457,8 +460,7 b' class bzmysql(bzaccess):' | |||||
457 | for id in bugs.keys(): |
|
460 | for id in bugs.keys(): | |
458 | self.ui.status(_(' bug %s\n') % id) |
|
461 | self.ui.status(_(' bug %s\n') % id) | |
459 | cmdfmt = self.ui.config('bugzilla', 'notify', self.default_notify) |
|
462 | cmdfmt = self.ui.config('bugzilla', 'notify', self.default_notify) | |
460 |
bzdir = self.ui.config('bugzilla', 'bzdir' |
|
463 | bzdir = self.ui.config('bugzilla', 'bzdir') | |
461 | '/var/www/html/bugzilla') |
|
|||
462 | try: |
|
464 | try: | |
463 | # Backwards-compatible with old notify string, which |
|
465 | # Backwards-compatible with old notify string, which | |
464 | # took one string. This will throw with a new format |
|
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