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:
b419b85
)
tahoe_ls: remove a couple of vestigial or debugging bits
author
Zooko O'Whielacronx
<zooko@zooko.com>
Wed, 11 Jul 2007 02:46:40 +0000
(19:46 -0700)
committer
Zooko O'Whielacronx
<zooko@zooko.com>
Wed, 11 Jul 2007 02:46:40 +0000
(19:46 -0700)
src/allmydata/scripts/tahoe_ls.py
patch
|
blob
|
history
diff --git
a/src/allmydata/scripts/tahoe_ls.py
b/src/allmydata/scripts/tahoe_ls.py
index dd3c17734a0a919f0f9921925b059214a4130496..d94c3f1748477ba09291e0fcae7bfeb4cb33a754 100644
(file)
--- a/
src/allmydata/scripts/tahoe_ls.py
+++ b/
src/allmydata/scripts/tahoe_ls.py
@@
-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)