On Dec 15, 7:37 pm, Alberto Valverde <[EMAIL PROTECTED]> wrote:
> bases = list(inspect.getmro(self.__class__))
>
I have had some issues with inspect.getmro in the past not providing
the correct list in some cases so I would recommend using the mro
method on the class. So in your example I would use
bases = self.__class__.mro()
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---