Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: CMF

[GenericSetup] "easy_install" reports "SyntaxError"

 

 

Zope cmf RSS feed   Index | Next | Previous | View Threaded


dieter at handshake

May 17, 2008, 12:14 PM

Post #1 of 2 (1455 views)
Permalink
[GenericSetup] "easy_install" reports "SyntaxError"

"easy_install"ing the current PyPI version of "Products.GenericSetup" (1.4.0)
reports:

File "/home/dieter/z211/z11python/lib/python2.4/site-packages/Products.GenericSetup-1.4.0-py2.4.egg/Products/GenericSetup/doc/SampleSite/profiles/default/siteroot/bar.py", line 22
return printed
SyntaxError: 'return' outside function


--
Dieter
_______________________________________________
Zope-CMF maillist - Zope-CMF [at] lists
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests


tseaver at palladion

May 18, 2008, 5:13 PM

Post #2 of 2 (1128 views)
Permalink
Re: [GenericSetup] "easy_install" reports "SyntaxError" [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dieter Maurer wrote:
> "easy_install"ing the current PyPI version of "Products.GenericSetup" (1.4.0)
> reports:
>
> File "/home/dieter/z211/z11python/lib/python2.4/site-packages/Products.GenericSetup-1.4.0-py2.4.egg/Products/GenericSetup/doc/SampleSite/profiles/default/siteroot/bar.py", line 22
> return printed
> SyntaxError: 'return' outside function

That is a harmless but unavoidable error message: the distutils
insistes on trying to compile all *.py files, even those which are not
in any package (such as FSPythonScript implementations).



Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver [at] palladion
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIMMZD+gerLs4ltQ4RAgcjAKDaRgy+3vILSU4AnD1HtlLSrSZV3QCgyCwv
BWSsIS0Wx4Iv4Bt89Ygqo54=
=0Ixq
-----END PGP SIGNATURE-----

_______________________________________________
Zope-CMF maillist - Zope-CMF [at] lists
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests

Zope cmf RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.