1841
1853
data = get_flattened_deployment(deployer_config, bundle_name)
1842
1854
index_data[bundle_name] = make_bundle_doc(
1843
1855
data, owner, basket_id, bundle_name, first_change, last_change,
1856
changes, branch_spec, promulgated, services_info)
1845
1857
if collection is not None:
1846
1858
collection.save(index_data[bundle_name])