Unable to create project using Python 2.4.2

Bug #496023 reported by mac9416
6
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/usbdisk/keryx/linux/keryx.conf
Traceback (most recent call last):
File "keryx.py", line 44, in ?
from lib import log, project
File "/media/usbdisk/keryx/linux/lib/project.py", line 28
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):"

mac9416 (mac9416)
Changed in keryx:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → mac9416 (mac9416)
description: updated
Chris Oliver (excid3)
Changed in keryx:
assignee: mac9416 (mac9416) → Chris Oliver (excid3)
status: Confirmed → Fix Committed
milestone: none → 0.92
mac9416 (mac9416)
Changed in keryx:
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.