Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-12-05 17:53:45 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-12-05 17:53:45 (GMT)
commitd347f616e9d1177aae343ac9d0d04df51c2c6078 (patch)
tree94b0e806c678cfb65f0c14961b611fb82491a838
parentebfcd39e199a94bb3a04f9f0603096924d9d39a3 (diff)
Give to the DS the ownership of the files we hand to it #5235
-rw-r--r--NEWS1
-rw-r--r--downloadmanager.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index ccc8c9e..aa517ca 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+* Give to the DS the ownership of the files we hand to it #5235 (tomeu)
* Open an uri of type text/uri-list with browse #5080 (erikos)
* Save view source to SAR/instance #5251 (erikos)
* Move the profile in SAR/data #5221 (erikos)
diff --git a/downloadmanager.py b/downloadmanager.py
index f129c0a..07374f1 100644
--- a/downloadmanager.py
+++ b/downloadmanager.py
@@ -167,6 +167,7 @@ class Download:
self._dl_jobject.metadata['mime_type'] = sniffed_mime_type
datastore.write(self._dl_jobject,
+ transfer_ownership=True,
reply_handler=self._internal_save_cb,
error_handler=self._internal_save_error_cb,
timeout=360 * DBUS_PYTHON_TIMEOUT_UNITS_PER_SECOND)