Set the uid property after a new object is created
This commit is contained in:
parent
53533be524
commit
488b9ecbb2
@ -181,6 +181,7 @@ def write(ds_object, update_mtime=True, transfer_ownership=False,
|
||||
ds_object.object_id = dbus_helpers.create(properties,
|
||||
file_path,
|
||||
transfer_ownership)
|
||||
ds_object.metadata['uid'] = ds_object.object_id
|
||||
# TODO: register the object for updates
|
||||
logging.debug('Written object %s to the datastore.' % ds_object.object_id)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user