Modify ↓
Opened 16 years ago
Closed 16 years ago
#3702 closed defect (fixed)
Syntax error in 0.11-Permissions on python 2.3.4
Reported by: | Owned by: | Russ Tyndall | |
---|---|---|---|
Priority: | normal | Component: | TimingAndEstimationPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
byte-compiling build/bdist.linux-i686/egg/timingandestimationplugin/tande_filters.py to tande_filters.pyc File "build/bdist.linux-i686/egg/timingandestimationplugin/tande_filters.py", line 39 return (x.upper() for x in permissions) ^ SyntaxError: invalid syntax byte-compiling build/bdist.linux-i686/egg/timingandestimationplugin/__init__.py to __init__.pyc byte-compiling build/bdist.linux-i686/egg/timingandestimationplugin/blackmagic.py to blackmagic.pyc File "build/bdist.linux-i686/egg/timingandestimationplugin/blackmagic.py", line 86 return (x.upper() for x in permissions) ^ SyntaxError: invalid syntax
Could it be fixed with something like "from future import something", I wonder?
Attachments (0)
Note: See
TracTickets for help on using
tickets.
(In [4269]) closes #3702
python 2.3 doesnt support generator expressions. I have changed that to just a list comprehension which should work as well.