﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	launchpad_bug
457	tahoe ls fails if you list a file	robk	robk	"in experimenting with 'tahoe ls' I found that directories display, but that there's no '-l' or even '-F' indication of what's a file and what's a directory

furthermore, if you 'tahoe ls' a file, tahoe explodes
 
{{{
Traceback (most recent call last):
  File ""/Users/robk/trees/tahoe/support/bin/tahoe"", line 7, in ?
    sys.exit(
  File ""/Users/robk/trees/tahoe/src/allmydata/scripts/runner.py"", line 77, in run
    rc = runner(sys.argv[1:])
  File ""/Users/robk/trees/tahoe/src/allmydata/scripts/runner.py"", line 66, in runner
    rc = cli.dispatch[command](so, stdout, stderr)
  File ""/Users/robk/trees/tahoe/src/allmydata/scripts/cli.py"", line 235, in list
    stdout, stderr)
  File ""/Users/robk/trees/tahoe/src/allmydata/scripts/tahoe_ls.py"", line 55, in list
    childtype = child[0]
KeyError: 0
}}}

when it tries to unpack the json packed structure of the 'specified directory' i.e. tahoe ls assumes only directories will be named, and fails if a file is named, but provides no indication either way."	defect	new	minor	eventually	code-frontend-cli	1.0.0				
