Closed
Bug 1483467
Opened 7 years ago
Closed 7 years ago
explicitly use python2 in moz-phab's #! line
Categories
(Conduit :: moz-phab, enhancement)
Conduit
moz-phab
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).
Updated•7 years ago
|
Keywords: conduit-triaged
| Assignee | ||
Updated•7 years ago
|
Assignee: nobody → pzalewa
| Assignee | ||
Comment 2•7 years ago
|
||
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+
| Assignee | ||
Updated•7 years ago
|
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.
Description
•