12418: Explicitly check if collection is not None
authorPeter Amstutz <peter.amstutz@curoverse.com>
Tue, 10 Oct 2017 15:19:47 +0000 (11:19 -0400)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Tue, 10 Oct 2017 17:36:31 +0000 (13:36 -0400)
commitc621fc52c25af82c90d435598134d1db7ba8e346
treebc098cce97b956833ffb8a66fd35d812ea2bc52d
parent455006efb88b2dbf7b489831d06afb850ac4e9aa
12418: Explicitly check if collection is not None

The empty collection evaluates to False, so it is necessary to explicitly check
for "not None".

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>
sdk/cwl/arvados_cwl/fsaccess.py
sdk/python/tests/test_collections.py