SyntaxError in python script
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyscript (Ubuntu) |
Fix Released
|
Medium
|
Luca Falavigna |
Bug Description
Binary package hint: python-pyscript
Symptoms:
Processing triggers for menu ...
Processing triggers for python-support ...
Compiling /var/lib/
SyntaxError: ('invalid syntax', ('/var/
The file that contains the violating syntax:
ls -lFart /var/lib/
lrwxrwxrwx 1 root root 60 2009-06-27 09:33 /var/lib/
/usr/share/
Belongs to the python-pyscript package.
Other info:
apt-cache policy python-pyscript
python-pyscript:
Installed: 0.6.1-2
Candidate: 0.6.1-2
Version table:
*** 0.6.1-2 0
500 http://
100 /var/lib/
# lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
Related branches
Changed in pyscript (Ubuntu): | |
assignee: | nobody → Luca Falavigna (dktrkranz) |
importance: | Undecided → Medium |
status: | New → In Progress |
This bug was fixed in the package pyscript - 0.6.1-2ubuntu1
---------------
pyscript (0.6.1-2ubuntu1) karmic; urgency=low
* debian/ patches/ 01_Python2. 6_reserved_ words.patch:
- Do not use "as" as variable name, it's a reserved word in
Python 2.6 (LP: #392870).
-- Luca Falavigna <email address hidden> Sat, 27 Jun 2009 14:34:11 +0000