Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #2463 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

Failing Tests On Python 2.4

Reported by: pedersen Owned by:
Priority: normal Milestone: 2.1b2
Component: TurboGears Version: 2.1a3
Severity: normal Keywords:


TG2.1a3 fails to run on Python 2.4 due to a ternary operator. Patch at  http://bitbucket.org/pedersen/tg-dev/changeset/e255e7a4a99e/ gets the tests passing for 2.4.

The second part of that patch fixes an issue with the super operator in 2.4. In 2.4, Exception is an old style class. super requires new style classes to work. The only real fix was to remove the call to super.

Change History

comment:1 Changed 9 years ago by lmacken

  • Status changed from new to closed
  • Resolution set to fixed

Partially applied in  http://bitbucket.org/turbogears/tg-dev/changeset/2b1d48f1ffa5/ (I fixed the second issue a little bit differently earlier today). Thanks for the patch!

Note: See TracTickets for help on using tickets.