Claudio Martínez wrote: > I was wondering if this was safe (thread safe?) to do or if there was a > better way to do it: > > class TestController(Controller): > def __init__(self, message): > self.message = message > @expose() > def index(self): > return self.message > > class Root(RootController): > @expose() > def createcontroller(self, name, message): > setattr(self, name, TestController(message))
Bump. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

