libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r1362757 - /libcloud/trunk/libcloud/storage/base.py
Date Wed, 18 Jul 2012 04:59:49 GMT
Author: tomaz
Date: Wed Jul 18 04:59:49 2012
New Revision: 1362757

URL: http://svn.apache.org/viewvc?rev=1362757&view=rev
Log:
Propagate all the kwargs passed to the container.download_object() method when
calling driver.download_object(). Contributed by Benno Rice, part of
LIBCLOUD-227.

Modified:
    libcloud/trunk/libcloud/storage/base.py

Modified: libcloud/trunk/libcloud/storage/base.py
URL: http://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py?rev=1362757&r1=1362756&r2=1362757&view=diff
==============================================================================
--- libcloud/trunk/libcloud/storage/base.py (original)
+++ libcloud/trunk/libcloud/storage/base.py Wed Jul 18 04:59:49 2012
@@ -139,7 +139,9 @@ class Container(object):
 
     def download_object(self, obj, destination_path, overwrite_existing=False,
                         delete_on_failure=True):
-        return self.driver.download_object(obj, destination_path)
+        return self.driver.download_object(
+            obj, destination_path, overwrite_existing=overwrite_existing,
+            delete_on_failure=delete_on_failure)
 
     def download_object_as_stream(self, obj, chunk_size=None):
         return self.driver.download_object_as_stream(obj, chunk_size)



Mime
View raw message