--
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to turbo...@googlegroups.com.
To unsubscribe from this group, send email to turbogears+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.
I don't think you need to do that. TurboGears adds a __nonzero__ method
to the Predicate class that is automatically calling is_met() for you.
-- Christoph
It shouldn't be necessary, but I got bit in my own templates when I didn't use it. Better safe than sorry, I say.
On Jul 27, 2010 4:04 AM, "Christoph Zwerschke" <ci...@online.de> wrote:
Am 27.07.2010 03:42, schrieb Michael Pedersen:
> You have a subtle problem in your code there, and it's easy to miss.
> Your permissions in your te...
I don't think you need to do that. TurboGears adds a __nonzero__ method
to the Predicate class that is automatically calling is_met() for you.
-- Christoph
--
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To pos...