Fix type checks in arv-copy recursive collection copying.
authorBrett Smith <brett@curoverse.com>
Fri, 31 Jul 2015 14:26:42 +0000 (10:26 -0400)
committerBrett Smith <brett@curoverse.com>
Fri, 31 Jul 2015 14:26:42 +0000 (10:26 -0400)
commit1b8caff3ad598744e4a0379b01fc95ca4838caa0
treec102aedc78f49b9649dbe20ff3947adfe7e530eb
parent61da6612acb822a87fca157fe39757460213473f
Fix type checks in arv-copy recursive collection copying.

This is necessary follow-up from
79564b0ac7d03327cc351bbd6df544ab1f776380.  API objects are now
OrderedDicts instead of dicts, so `type(obj) == dict` is never true,
and calling this function on an API object is a noop.

No issue #.  I found this after receiving a user report that arv-copy
did not copy dependent collections from a pipeline template.
sdk/python/arvados/commands/arv_copy.py