>
> >   2 - amend was the master.kid file to read:
> >         py:if="hasattr(self, 'tg_flash')" instead of just
> > py:if="tg_flash" on line 36.
>
> I got a different result, in py 2.5 it seems need supply tg_flash
> explicitly for return value, or it will bark a exception.
>

doing an hasattr(self, 'tg_flash') takes care of not raising an
exception if tg_flash was not provided to the view. Do you mean there
could be some other problem ?

Florent.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to