from commentary.sitepage import * class index(SitePage): def setup(self): self.title = "Welcome to Commentary" def respond(self): print >> self, ( "%s" % self.title) print >> self, "

%s

" % self.title print >> self, '' for name, value in sorted(self.environ.items()): if name.upper() != name: value = repr(value) print >> self, ( '' % (html_quote(name), html_quote_whitespace(value))) print >> self, "
%s:%s
" print >> self, ""