Show More
@@ -328,6 +328,9 b" configitem('bugzilla', 'bzdir'," | |||
|
328 | 328 | configitem('bugzilla', 'bzemail', |
|
329 | 329 | default=None, |
|
330 | 330 | ) |
|
331 | configitem('bugzilla', 'bzurl', | |
|
332 | default='http://localhost/bugzilla/', | |
|
333 | ) | |
|
331 | 334 | |
|
332 | 335 | class bzaccess(object): |
|
333 | 336 | '''Base class for access to Bugzilla.''' |
@@ -649,8 +652,7 b' class bzxmlrpc(bzaccess):' | |||
|
649 | 652 | def __init__(self, ui): |
|
650 | 653 | bzaccess.__init__(self, ui) |
|
651 | 654 | |
|
652 |
bzweb = self.ui.config('bugzilla', 'bzurl' |
|
|
653 | 'http://localhost/bugzilla/') | |
|
655 | bzweb = self.ui.config('bugzilla', 'bzurl') | |
|
654 | 656 | bzweb = bzweb.rstrip("/") + "/xmlrpc.cgi" |
|
655 | 657 | |
|
656 | 658 | user = self.ui.config('bugzilla', 'user', 'bugs') |
@@ -810,8 +812,7 b' class bzrestapi(bzaccess):' | |||
|
810 | 812 | """ |
|
811 | 813 | def __init__(self, ui): |
|
812 | 814 | bzaccess.__init__(self, ui) |
|
813 |
bz = self.ui.config('bugzilla', 'bzurl' |
|
|
814 | 'http://localhost/bugzilla/') | |
|
815 | bz = self.ui.config('bugzilla', 'bzurl') | |
|
815 | 816 | self.bzroot = '/'.join([bz, 'rest']) |
|
816 | 817 | self.apikey = self.ui.config('bugzilla', 'apikey') |
|
817 | 818 | self.user = self.ui.config('bugzilla', 'user', 'bugs') |
General Comments 0
You need to be logged in to leave comments.
Login now