From afcc8107af73206c16d497e2c97e345358fbe141 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Sun, 21 Oct 2007 12:33:06 -0700 Subject: [PATCH] tahoe_ls: list individual files --- src/allmydata/scripts/tahoe_ls.py | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.45.2