Closed Bug 1092476 Opened 10 years ago Closed 10 years ago

reviewboard extension not loading on Windows due to json import

Categories

(MozReview Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gps, Unassigned)

References

Details

Attachments

(1 file, 1 obsolete file)

+++ This bug was initially created as a clone of Bug #1077326 +++

Splitting this bug from original report to track reviewboard extension work, as that is all I fixed while on the plane earlier.
Attached file MozReview Request: bz://1092476/gps (obsolete) —
Attachment #8515422 - Flags: review?(smacleod)
/r/145 - reviewboard: don't always import json (bug 1092476)

Pull down this commit:

hg pull review -r cb1fefc4e04bfff377a9976f4967ae2e736be872
https://reviewboard.mozilla.org/r/143/#review121

::: testing/find-bad-imports.py
(Diff revision 1)
> +Once the test harness runs on Windows, we can probably remove this.

Probably a good idea to file a bug to remove this then.

::: hgext/reviewboard/hgrb/proto.py
(Diff revision 1)
> +    import json

I guess this just kicks the can down the road until the user on Windows tries to run this command? Or until the test harness is made to run on Windows, I guess.
https://reviewboard.mozilla.org/r/143/#review137

> I guess this just kicks the can down the road until the user on Windows tries to run this command? Or until the test harness is made to run on Windows, I guess.

No, this code only runs on the server. It should never be relevant for clients.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment on attachment 8515422 [details]
MozReview Request: bz://1092476/gps

LGTM as well.
Attachment #8515422 - Flags: review?(smacleod) → review+
Attachment #8515422 - Attachment is obsolete: true
Attachment #8618539 - Flags: review+
Product: Developer Services → MozReview
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: