FS#30940 - [fish] Depends on the wrong Python

Attached to Project: Community Packages
Opened by Ilmari Vacklin (wolverian) - Tuesday, 31 July 2012, 13:41 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Saturday, 11 August 2012, 09:44 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:
The built-in Python functions don't work because they use Python 2 syntax.

The Python script being run is /usr/share/fish/tools/web_config/webconfig.py, which has #!/usr/bin/python; this should probably be #!/usr/bin/python2.

Additional info:
* fish version 2.0b2-1


Steps to reproduce:

Run `fish_config`:

wolverian@athena ~> fish_config
File "/usr/share/fish/tools/web_config/webconfig.py", line 309
print "Unable to find an open port between 8000 and 9000"
^
SyntaxError: invalid syntax
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Saturday, 11 August 2012, 09:44 GMT
Reason for closing:  Fixed
Additional comments about closing:  fish 2.0b2-2

Loading...