What steps will reproduce the problem?
1. checkout trunk version of django-rosetta
2. install in project
3. run project with Python 2.4
What is the expected output? What do you see instead?
Django-rosetta should work. Instead there is a syntax error on views.py
line 127.
What version of the product are you using? On what operating system?
Trunk (r32) on Linux.
Please provide any additional information below.
The problem is the use of the one-line if...else syntax. The same effect
can be achieved using normal if...else syntax without breaking Python 2.4.
Patch attached.
Original issue reported on code.google.com by carl.j.meyer on 4 Aug 2008 at 6:35
Original issue reported on code.google.com by
carl.j.meyer
on 4 Aug 2008 at 6:35Attachments: