diff --git a/ui/fixtures/cmd.container.json b/ui/fixtures/cmd.container.json index dda1ba4..0605ea5 100644 --- a/ui/fixtures/cmd.container.json +++ b/ui/fixtures/cmd.container.json @@ -15,7 +15,7 @@ { "title": "import partial container", "cmd": [ "container", "somedir.torrent" ], - "stderr": "Warning, incomple/invalid files, not added:\n\t'filea.txt'\n\t'filec.txt'\n\t'filee.txt'\n" + "stderr": "Warning, incomple/invalid files, not added for 'somedir.torrent':\n\t'filea.txt'\n\t'filec.txt'\n\t'filee.txt'\n" }, { "special": "verify store object cnt", diff --git a/ui/medashare/cli.py b/ui/medashare/cli.py index 070ed55..2339f6a 100644 --- a/ui/medashare/cli.py +++ b/ui/medashare/cli.py @@ -951,7 +951,7 @@ def cmd_container(options): good, bad = validate_file(i) if bad: - print('Warning, incomple/invalid files, not added:', + print('Warning, incomple/invalid files, not added for %s:' % repr(i), file=sys.stderr) print('\n'.join('\t%s' % repr(str(pathlib.Path(*x.parts[1:]))) for x in