Ticket #1 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

PyCha not working under CPython 2.4

Reported by: enlavin Owned by: somebody
Priority: major Milestone:
Component: component1 Version:
Keywords: Cc:

Description

Syntax error in chart.py

File "C:\Python\24\lib\site-packages\pycha-0.1.0-py2.4.egg\pycha\chart.py", line 189

self.minxval = 0.0 if self.options.xOriginIsZero else float(min(xdata))

Conditional asignment is defined only in python 2.5 and above.

Attachments

patch-chart.py-2.4.diff (3.6 kB) - added by enlavin 4 years ago.

Change History

Changed 4 years ago by enlavin

Changed 4 years ago by lgs

  • status changed from new to closed
  • resolution set to fixed

Ok, I guess is to early to say goodbye to Python 2.4.

I commited your patch. You can get the patched pycha from subversion. I will put the subversion url in the wiki frontpage right now.

Note: See TracTickets for help on using tickets.