[Twisted-web] Passing data to render functions

Simon Pickles sipickles at googlemail.com
Thu May 15 15:35:46 EDT 2008


Sorry, I've just demonstrated a hole in my python.

If I change the function to this then it will work since I am not 
overwriting the self, and the context is in the right place!

        def ServerInfo(ctx):
            self.broker.GetServerData(serverData.HUB_SERVER)

Guess you realise-something-very-obvious everyday!



More information about the Twisted-web mailing list