Kirk Strauser schrieb: > Now, if I import turbogears.database.session before alchtest, I get the > behavior I would have expected: > >>>> import alchtest >>>> from turbogears.database import session >>>> alchtest.foo(session) > Traceback (most recent call last): > [...] > > However, if I import alchtest before turbogears.database.session, it gets the > "magic" behavior: > >>>> import alchtest >>>> from turbogears.database import session >>>> alchtest.foo(session) > <alchtest.Package object at 0x1dc5390>
???? You are importing alchtest before turbogears.database in both examples. Somewhere there is something wrong... Chris --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

