12418: Explicitly check if collection is not None 12418-glob-empty-collection
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 15:22:52 +0000 (11:22 -0400)
commit250f1578314d1f4d053d3d9f65a3d5c33d1578af
treed2a45f6c917c085055bd96d95baa8fe1f6500cb2
parent1f9e34a95ed8eefdab52b105a38582eb1533e47a
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