From: Brian Warner Date: Sun, 21 Oct 2007 19:33:06 +0000 (-0700) Subject: tahoe_ls: list individual files X-Git-Tag: allmydata-tahoe-0.7.0~361 X-Git-Url: https://git.rkrishnan.org/Site/Content/Exhibitors/%22news.html/?a=commitdiff_plain;h=afcc8107af73206c16d497e2c97e345358fbe141;p=tahoe-lafs%2Ftahoe-lafs.git tahoe_ls: list individual files --- diff --git a/src/allmydata/scripts/tahoe_ls.py b/src/allmydata/scripts/tahoe_ls.py index 259cf4a6..9b69d314 100644 --- 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)