Closed
Bug 1354595
Opened 9 years ago
Closed 8 years ago
bugzilla: move '/rest` part of the URL into a new object property, `base_url`
Categories
(Conduit :: General, defect)
Conduit
General
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: zalun, Unassigned)
References
()
Details
Attachments
(1 file)
|
59 bytes,
text/x-review-board-request
|
Details |
::: commitindex/commitindex/reviews/bugzilla.py:97
(Diff revision 5)
> BugzillaError: General error where the fault code and string will
> pertain to the specific error code generated by Bugzilla.
> """
>
> try:
> - self.call('GET', '/bug/' + quote(str(bug_id)))
> + self.call('GET', '/rest/bug/' + quote(str(bug_id)))
Not a blocker, but I suggest the `/rest` part of the URL get pulled into a new
object property, `base_url`, constructed of the hostname URL and the
api-specific component. Then these calls can stay as-is. self.call would do
the work to combine `self.base_url + path`.
| Comment hidden (mozreview-request) |
Updated•8 years ago
|
Attachment #8855857 -
Flags: review?(mars)
Comment 2•8 years ago
|
||
Outdated, no longer needed - there is no commitindex in the new commit pipeline architecture.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•