[Plone-IT] TypeError: 'NoneType' object is unsubscriptable come gestirlo?

Vito Falco vitofalco a gmail.com
Ven 30 Nov 2012 12:21:00 UTC


Ciao,
trovandomi nella possibilità di ottenere (in una attribuzione) un simpatico
TypeError: 'NoneType' object is unsubscriptable

come faccio a gestirlo?
Ovvero, riesco a prevedere con un if o try questa situazione?
Vito

-- 
*Vito Falco*
Webdeveloper & designer freelance, Plone enthusiast
Bari, IT
tel +39 3346330137 | skype vito80ba | twitter vito80ba
Blog http://appuntiplone.wordpress.com
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://lists.plone.org/pipermail/plone-plone-it/attachments/20121130/f5e0eef0/attachment.html>


Maggiori informazioni sulla lista Plone-IT