GiĆ ,
i classici funzionano sempre :)

thannk's

Vito

Il giorno 30 novembre 2012 14:26, Silvio <[email protected]> ha scritto:

> 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
>



-- 
*Vito Falco*
Webdeveloper & designer freelance, Plone enthusiast
Bari, IT
tel +39 3346330137 | skype vito80ba | twitter vito80ba
Blog http://appuntiplone.wordpress.com
_______________________________________________
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

Rispondere a