From 2f6fd7d0003c343094ea5287510bed0d3308b1f8 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Fri, 15 Feb 2008 04:02:38 -0700 Subject: [PATCH] webish.py: remove some dead code --- src/allmydata/webish.py | 8 -------- 1 file changed, 8 deletions(-) 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 -- 2.37.2