[Zope] [2.6.4] python2.2 fails to compile zope stuff

Jonas Meurer jonas at freesources.org
Fri May 14 16:32:12 EDT 2004


On 14/05/2004 Dieter Maurer wrote:
> >[...]
> >SyntaxError: 'return' outside function
> 
> It entered a directory with "FSPythonScripts".
> 
>   An "FSPythonScript" is like a Python function but without
>   the "def header". Therefore, Python finds "return"s outside
>   of a function.
> 
> Do not try to compile "FSPythonScripts". This is useless
> (and will not work, as you already found out).

mh, so the line in zope.postinst is wrong? It's wrong to compile the
whole /usr/lib/zope directory? Is there a way to exclude
"FSPythonScripts"?

bye
 jonas



More information about the Zope mailing list