Re: [web2py] model files can not end with a comment

2010-04-12 Thread Jonathan Lundell
On Apr 12, 2010, at 11:52 AM, DenesL wrote: > In 1.76.3, and probably others, model files can not end with a comment > line: > > Traceback (most recent call last): > File "D:\web2py\hg\gluon\restricted.py", line 171, in restricted >ccode = compile(code.replace('\r\n', '\n'), layer, 'exec') >

[web2py] model files can not end with a comment

2010-04-12 Thread DenesL
In 1.76.3, and probably others, model files can not end with a comment line: Traceback (most recent call last): File "D:\web2py\hg\gluon\restricted.py", line 171, in restricted ccode = compile(code.replace('\r\n', '\n'), layer, 'exec') File "D:/web2py/hg/applications/mssqltest/models/db.py