From 557f3d6ea702665b6e55e1981f921aa2c407b5cf Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Mon, 23 Jul 2007 13:20:24 +0200 Subject: [PATCH] Fix one more temp file leak. --- sugar/datastore/datastore.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sugar/datastore/datastore.py b/sugar/datastore/datastore.py index 83351edf..ef1dd45a 100644 --- a/sugar/datastore/datastore.py +++ b/sugar/datastore/datastore.py @@ -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