Carlos Hanson wrote:
> Sweet.  Thanks.  I thought about something along those lines before
> reading the response, but I would have passed a call to the function,
> get_item_list(), rather than the fuction itself, get_item_list.  I
> need to research why that works.
I think it's in widgets/meta.py:94

>     def __get__(self, obj, typ=None):
>         if obj is None:
>             # return the original class attribute. This makes the
> descriptor
>             # almost invisible
>             return getattr(typ, self.param_name)
>         param = getattr(obj, self.param_name)
>         if callable(param):
>             return param()
>         return param


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to