klipstein/dojango — Issue #57: 57 - Missing final line-break prevents dojango from working with jython/tomcat 
Author: klipstein
Created: 2011-11-06 13:01:40+00:00
State: open

What steps will reproduce the problem?
1. Use jython instead of python to run the server

What is the expected output? What do you see instead?
The server should run, but instead you get a stack trace ending with :

File "C:\dev\dojango\util\config.py", line 2, in <module>
from dojango.util import dojo_collector
File "C:\dev\dojango\util\dojo_collector.py", line 50
# otherwise do nothing
^
SyntaxError: required (...)+ loop did not match anything at character '<EOF>'

What version of the product are you using? On what operating system?
0.4.7 with Jython 2.5.1 on Windows XP

Please provide any additional information below.
The problem is fixed if a <return> is added to the final line in dojo_collector.py (the comment line).

Original link: http://code.google.com/p/dojango/issues/detail?id=57