Try an invalid lists operation and print its exit code:
fsls ftp://anon:oijsdf@ftp.mozilla.com; echo $?
fsls will print an error and we expect the exit code to be 1, but the exit code
is 0. This is because the wrapper scripts in fs/commands (the files without the
.py extension) don't pass the return value to sys.exit. Instead of using
setuptools' setup's "scripts" argument we can use "entry_points" and get rid of
the need for those scripts altogether.
Patch attached
Original issue reported on code.google.com by p...@duedil.com on 6 May 2014 at 2:18
Original issue reported on code.google.com by
p...@duedil.com
on 6 May 2014 at 2:18Attachments: