Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/downloadmanager.py
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-12-05 17:53:45 (GMT)
committer Simon Schampijer <simon@schampijer.de>2007-12-12 23:45:41 (GMT)
commit58beb89b94bb886f536abe40afe7954a61455a60 (patch)
tree6fba48efd306667de6125d788f9ca11ce8f7f788 /downloadmanager.py
parent78faa3996e537e1f6f0d63394c99ea2a42d804e3 (diff)
Give to the DS the ownership of the files we hand to it #5235
Diffstat (limited to 'downloadmanager.py')
-rw-r--r--downloadmanager.py1
1 files changed, 1 insertions, 0 deletions
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)