shebang lines should refer to python2 executable
Bug #916646 reported by
Nicolas Maître
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GTG |
Fix Released
|
Medium
|
Izidor Matušov |
Bug Description
The shebang lines should refer to python2 executable since GTG is not compatible with python3, according to PEP0394[0] (still a draft, though).
I have modified those lines in http://
However, this might be an issue with not complying/old distributions which don't provide any python2 executable. This means that the merge shouldn't probably done right now, but it is still interesting to have such a patch available for those who use bleeding-edge distributions such as ArchLinux which uses python3 as default python executable.
Related branches
lp:~nmaitre/gtg/conform-to-pep394
- Izidor Matušov: Approve
- Lionel Dricot: Pending requested
-
Diff: 171 lines (+17/-18)15 files modifiedAUTHORS (+1/-1)
GTG/core/datastore.py (+3/-4)
GTG/gtg.py (+1/-1)
GTG/gtk/crashhandler.py (+1/-1)
GTG/tools/networkmanager.py (+1/-1)
gtcli (+1/-1)
gtg (+1/-1)
gtg_new_task (+1/-1)
profile.py (+1/-1)
run-tests (+1/-1)
scripts/anonymize_task_file.py (+1/-1)
scripts/gtg_stress_test (+1/-1)
scripts/pep8.py (+1/-1)
scripts/profile_interpret.sh (+1/-1)
setup.py (+1/-1)
description: | updated |
Changed in gtg: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
milestone: | none → 0.4 |
Changed in gtg: | |
assignee: | nobody → Izidor Matušov (izidor) |
milestone: | 0.4 → 0.3 |
status: | Confirmed → Fix Committed |
tags: | removed: toreview |
Changed in gtg: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Shebang will be changed in the future when standard linux distribution (at least Ubuntu & Fedora) supports it.