mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-12 07:52:38 +00:00
Remove unused want_json()
This commit is contained in:
parent
23a51117d2
commit
79be795566
@ -199,12 +199,6 @@ class ResultsBase(object):
|
|||||||
assert isinstance(s, (list, tuple))
|
assert isinstance(s, (list, tuple))
|
||||||
return [html.escape(w) for w in s]
|
return [html.escape(w) for w in s]
|
||||||
|
|
||||||
def want_json(self, req):
|
|
||||||
output = get_arg(req, "output", "").lower()
|
|
||||||
if output.lower() == "json":
|
|
||||||
return True
|
|
||||||
return False
|
|
||||||
|
|
||||||
def _render_si_link(self, req, storage_index):
|
def _render_si_link(self, req, storage_index):
|
||||||
si_s = base32.b2a(storage_index)
|
si_s = base32.b2a(storage_index)
|
||||||
ophandle = req.prepath[-1]
|
ophandle = req.prepath[-1]
|
||||||
|
Loading…
Reference in New Issue
Block a user