mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-09 03:44:23 +00:00
tahoe_ls: remove a couple of vestigial or debugging bits
This commit is contained in:
parent
b419b853ea
commit
32166c360a
@ -3,10 +3,6 @@
|
||||
import urllib
|
||||
import simplejson
|
||||
|
||||
def GET(url, outf):
|
||||
f = urllib.urlopen(url)
|
||||
outf.write(f.read())
|
||||
|
||||
def list(server, vdrive, vdrive_file):
|
||||
|
||||
if server[-1] != "/":
|
||||
@ -15,7 +11,6 @@ def list(server, vdrive, vdrive_file):
|
||||
if vdrive_file:
|
||||
url += vdrive_file
|
||||
url += "?t=json"
|
||||
print "URL:", url
|
||||
data = urllib.urlopen(url).read()
|
||||
|
||||
parsed = simplejson.loads(data)
|
||||
|
Loading…
x
Reference in New Issue
Block a user