use created to send signal on receiving Created signal

Tested-by: Rahul Bothra <f2016015@pilani.bits-pilani.ac.in> # Ubuntu 16.04
This commit is contained in:
Pro-Panda 2018-05-31 00:23:57 +05:30 committed by James Cameron
parent e32aea6a4f
commit 06a28fae0e

View File

@ -58,7 +58,7 @@ def _get_data_store():
def __datastore_created_cb(object_id): def __datastore_created_cb(object_id):
metadata = _get_data_store().get_properties(object_id, byte_arrays=True) metadata = _get_data_store().get_properties(object_id, byte_arrays=True)
updated.send(None, object_id=object_id, metadata=metadata) created.send(None, object_id=object_id, metadata=metadata)
def __datastore_updated_cb(object_id): def __datastore_updated_cb(object_id):