All tests should use /usr/bin/env python

Bug #780439 reported by Lawrence Mitchell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fluidity
Fix Released
Low
Tim Bond

Bug Description

If the system-installed version of python is too old, tests with #!/usr/bin/python break. Most have been updated to use #!/usr/bin/env python instead, but a few have been missed.

The attached patch (trivially generated with find . -name "*.py" | xargs perl -p -i -e 's|^!#/usr/bin/python|!#/usr/bin/env python|') fixes this.

Revision history for this message
Lawrence Mitchell (wence) wrote :
Revision history for this message
Tim Bond (timothy-bond) wrote :

Many thanks for reporting this, Lawrence! I've committed a fix to dev-trunk which I think resolves the problem.

Changed in fluidity:
status: New → Fix Committed
importance: Undecided → Low
assignee: nobody → Tim Bond (timothy-bond)
Tim Bond (timothy-bond)
Changed in fluidity:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.