From: Brian Warner Date: Fri, 15 Feb 2008 11:02:38 +0000 (-0700) Subject: webish.py: remove some dead code X-Git-Tag: allmydata-tahoe-0.8.0~39 X-Git-Url: https://git.rkrishnan.org/components/%22news.html/reliability?a=commitdiff_plain;h=2f6fd7d0003c343094ea5287510bed0d3308b1f8;p=tahoe-lafs%2Ftahoe-lafs.git webish.py: remove some dead code --- diff --git a/src/allmydata/webish.py b/src/allmydata/webish.py index fdd10577..06ec61c9 100644 --- a/src/allmydata/webish.py +++ b/src/allmydata/webish.py @@ -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