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:
80d863a
)
tahoe_ls: list individual files
author
Brian Warner
<warner@lothar.com>
Sun, 21 Oct 2007 19:33:06 +0000
(12:33 -0700)
committer
Brian Warner
<warner@lothar.com>
Sun, 21 Oct 2007 19:33:06 +0000
(12:33 -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 259cf4a67c3fef4fe2544e7178ea94f3fd9aaf3a..9b69d3149a5f3a36b49cb799c46191baee085b06 100644
(file)
--- a/
src/allmydata/scripts/tahoe_ls.py
+++ b/
src/allmydata/scripts/tahoe_ls.py
@@
-25,6
+25,8
@@
def list(nodeurl, root_uri, vdrive_pathname, stdout, stderr):
assert childtype == "filenode"
size = child[1]['size']
print >>stdout, "%10s %s" % (size, name)
+ elif nodetype == "filenode":
+ print >>stdout, "%10s %s" % (d['size'], vdrive_pathname)