[Zope] unquote_plus NOT working in an EM ?

Florent Guillaume fg@nuxeo.com
Tue, 23 Apr 2002 15:37:53 +0000 (UTC)


In an external method, do not use "print" but "return".

Florent

Doyon, Jean-Francois <Jean-Francois.Doyon@CCRS.NRCan.gc.ca> wrote:
> Hello,
> 
> Anybody know why if I have:
> 
> from urllib import urlopen, urlencode, unquote_plus
> 
> and then something like:
> 
> print unquote_plus(innerlist[1])
> 
> the string WILL NOT come out unquoted for some reason? When I run a test
> from the CLI, no problem, but when inside an External Method, nothing
> happens!
> 
> Help! :)
> 
> Thanks a bunch,
> 
> Jean-François Doyon
> Internet Service Development and Systems Support
> GeoAccess Division
> Canadian Center for Remote Sensing
> Natural Resources Canada
> http://atlas.gc.ca
> Phone: (613) 992-4902
> Fax: (613) 947-2410
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
> 


-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com