projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d293240
)
webish.py: remove some dead code
author
Brian Warner
<warner@lothar.com>
Fri, 15 Feb 2008 11:02:38 +0000
(
04:02
-0700)
committer
Brian Warner
<warner@lothar.com>
Fri, 15 Feb 2008 11:02:38 +0000
(
04:02
-0700)
src/allmydata/webish.py
patch
|
blob
|
history
diff --git
a/src/allmydata/webish.py
b/src/allmydata/webish.py
index fdd105778d3c160bb6e2106e55ee99767ac97fdf..06ec61c95dfd994eb7c76797221f2ba9c60af2d8 100644
(file)
--- 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