Fix one more temp file leak.
This commit is contained in:
parent
4da2bafa84
commit
557f3d6ea7
@ -161,9 +161,8 @@ class DSObject(object):
|
||||
def get(object_id):
|
||||
logging.debug('datastore.get')
|
||||
metadata = dbus_helpers.get_properties(object_id)
|
||||
file_path = dbus_helpers.get_filename(object_id)
|
||||
|
||||
ds_object = DSObject(object_id, DSMetadata(metadata), file_path)
|
||||
ds_object = DSObject(object_id, DSMetadata(metadata), None)
|
||||
# TODO: register the object for updates
|
||||
return ds_object
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user