From d347f616e9d1177aae343ac9d0d04df51c2c6078 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Wed, 05 Dec 2007 17:53:45 +0000 Subject: Give to the DS the ownership of the files we hand to it #5235 --- (limited to 'downloadmanager.py') 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) -- cgit v0.9.1