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)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: zalun, Unassigned)

References

()

Details

Attachments

(1 file)

::: 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`.
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.

Attachment

General

Created:
Updated:
Size: