kgk schrieb: > I bumped into a problem today after having had reasonable luck > upgrading to 1.1rc1 > > Maybe it should have been? > getattr (cls.__init__. '_session_mapper', False)
Yes, this seems to be a bug introduced with r6746 after 1.1rc1. It will hit you only if you map classes that already have an __init__ method. If your __init__ method serves only for initalizing properties, then you can simply remove it as session_mapper does this automatically for you. Otherwise you can solve it by patching TG as above or by setting __init__._session_mapper to False. I've already created a ticket here: http://trac.turbogears.org/ticket/2386 -- Christoph --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

