Jorey Bump
list at joreybump.com
Tue Jan 16 13:31:53 EST 2007
Jaime Wyant wrote: > Actually, I need to perform string manipulation on *everything* that > gets handled by publisher. I don't want to manually edit each function > that the handler exposes. > > FWIW, I'm doing this because I would like to have two versions of my > website -> > > test.mysite.com > real.mysite.com def index(req) body = do_stuff_with_your_modules(req) return body.replace("test.mysite.com", "real.mysite.com")
|