Fix for splitting dataset collections

This commit is contained in:
Greg Von Kuster
2016-08-03 09:20:08 -04:00
parent 2d15e50d0f
commit d0bdd532bb
@@ -20,6 +20,6 @@ def _split_dataset_collection( dataset_collection, collection_type ):
if child_collection.collection_type == collection_type:
split_elements.append( element )
else:
split_elements.extend( _split_dataset_collection( element.child_collection ) )
split_elements.extend( _split_dataset_collection( element.child_collection, element.child_collection.collection_type ) )
return split_elements