webish.py: remove some dead code

This commit is contained in:
Brian Warner 2008-02-15 04:02:38 -07:00
parent d293240bfb
commit 2f6fd7d000

View File

@ -124,14 +124,6 @@ class MyRequest(appserver.NevowRequest):
self.process()
def _escape(self, s):
# pain in the ass. Return a string like python repr, but always
# escaped as if surrounding quotes were "".
r = repr(s)
if r[0] == "'":
return r[1:-1].replace('"', '\\"').replace("\\'", "'")
return r[1:-1]
def _logger(self):
# we build up a log string that hides most of the cap, to preserve
# user privacy. We retain the query args so we can identify things