17800: Avoids saving a new empty collection.
authorLucas Di Pentima <lucas.dipentima@curii.com>
Mon, 14 Jun 2021 19:49:42 +0000 (16:49 -0300)
committerPeter Amstutz <peter.amstutz@curii.com>
Thu, 8 Jul 2021 17:36:47 +0000 (13:36 -0400)
commitdcdd0bd36ae76c154d12ffb2f3759cef15d4c8a9
tree73cbba4975bd01e2b8d9e161b1d7245e29446d22
parente482cbe06fedbdcd57bb1dbea3553323efba8120
17800: Avoids saving a new empty collection.

Sometimes the specified paths won't be eligible for uploading (ie: all are
symlinks and --no-follow-symlinks is used), in those cases arv-put just
prints a warning message and doesn't save anything to Keep/API.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
sdk/python/arvados/commands/put.py
sdk/python/tests/test_arv_put.py