Unable to create project using Python 2.4.2
Bug #496023 reported by
mac9416
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Keryx |
Fix Released
|
Medium
|
Chris Oliver |
Bug Description
When trying to create a project with Python 2.4.2 (which ships with Ubuntu 6.06), the following error occurs:
"""
Loading config: /media/
Traceback (most recent call last):
File "keryx.py", line 44, in ?
from lib import log, project
File "/media/
class Project():
^
SyntaxError: invalid syntax
"""
This happens because the empty parentheses in "class Project():" are invalid syntax in older versions of Python. The proper code would be "class Project(object):"
Changed in keryx: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → mac9416 (mac9416) |
description: | updated |
Changed in keryx: | |
assignee: | mac9416 (mac9416) → Chris Oliver (excid3) |
status: | Confirmed → Fix Committed |
milestone: | none → 0.92 |
Changed in keryx: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.