mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-09 03:44:23 +00:00
webish.py: remove some dead code
This commit is contained in:
parent
d293240bfb
commit
2f6fd7d000
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user