2012/11/30 Vito Falco <[email protected]>
> TypeError: 'NoneType' object is unsubscriptable
come faccio a gestirlo?
> Ovvero, riesco a prevedere con un if o try questa situazione?
>
try:
codice
except TypeError, exception:
gestione errore
o
if elementodubbio is None:
gestione errore
else:
codice
possono andare?
Silvio
_______________________________________________
Plone-IT mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-plone-it
http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html