[Zope] Problem Augmented assignment

Jonathan dev101 at magma.ca
Mon Jun 4 07:48:02 EDT 2007


----- Original Message ----- 
From: "julian" <jules12af at aol.com>
To: <zope at zope.org>
Sent: Monday, June 04, 2007 4:24 AM
Subject: [Zope] Problem Augmented assignment


> I have change my zope version, zope 2.7 to zope 2.9. In zope 2.7 I have 
> some python script that run very well. But in zope 2.9 theses scripts 
> don't run. This script use the parameter in url send with a checkbox form. 
> I have exactly the same code in zope2.7 and zope2.9. :s
>
> In zope 2.9 I have this error message :
> ---------------------------------------------------------------------------
> Type de l'erreur
>     TypeError
> Valeur de l'erreur
>     Augmented assignment to And objects is not allowed in untrusted code
> Requête envoyée au serveur le
>     2007/06/04 10:18:18.412 GMT+2
> ---------------------------------------------------------------------------

A quick fix would be to move the code from your python script to an external 
method.


Jonathan 



More information about the Zope mailing list