Closed Bug 1483467 Opened 7 years ago Closed 7 years ago

explicitly use python2 in moz-phab's #! line

Categories

(Conduit :: moz-phab, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: glob, Assigned: zalun)

References

Details

(Keywords: conduit-triaged)

Attachments

(1 file)

some distros either don't follow PEP 394, or allow the user to switch which version of python `python` resolves to (*cough* gentoo). changing > #!/usr/bin/env python to > #!/usr/bin/env python2 should fix this, assuming all distros have a `python2`.
note this would be a stop-gap measure before bug 1481528 is fixed (which switches from py2 to py3).
Blocks: 1484093
Assignee: nobody → pzalewa
As mentioned in https://bugzilla.mozilla.org/show_bug.cgi?id=1483467 some distros either don't follow PEP 394, or allow the user to switch which version of python `python` resolves to. This patch forces the moz-phab to use Python 2.
Comment on attachment 9004769 [details] tools: explicitly use python2 in moz-phab's #! line Byron Jones ‹:glob› 🎈 has approved the revision.
Attachment #9004769 - Flags: review+
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: