zaf schrieb: > Okay, so I was importing a file, that imported another file in which I > do have a from model import * > which I now got rid of and it's working again. > Thanks Christoph. Just out of curiosity, why wasn't it a problem when > I was using kid ?
There are differences in scoping and the template inheritance mechanism. In Kid, the import results in a global variable which is then overridden by the local template variable. In Genshi, the import seems to go into the local scope for some reason - I don't know Genshi too well. Maybe you should ask in the Genshi mailing list if this bothers you or you want to understand better how the Genshi scoping works. -- 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 -~----------~----~----~----~------~----~------~--~---

