libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r1090587 - /incubator/libcloud/trunk/libcloud/storage/drivers/cloudfiles.py
Date Sat, 09 Apr 2011 13:26:27 GMT
Author: tomaz
Date: Sat Apr  9 13:26:24 2011
New Revision: 1090587

URL: http://svn.apache.org/viewvc?rev=1090587&view=rev
Log:
Fix the callback argument.

Modified:
    incubator/libcloud/trunk/libcloud/storage/drivers/cloudfiles.py

Modified: incubator/libcloud/trunk/libcloud/storage/drivers/cloudfiles.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/libcloud/storage/drivers/cloudfiles.py?rev=1090587&r1=1090586&r2=1090587&view=diff
==============================================================================
--- incubator/libcloud/trunk/libcloud/storage/drivers/cloudfiles.py (original)
+++ incubator/libcloud/trunk/libcloud/storage/drivers/cloudfiles.py Sat Apr  9 13:26:24 2011
@@ -263,7 +263,7 @@ class CloudFilesStorageDriver(StorageDri
                                                        object_name),
                                            method='GET', raw=True)
 
-        return self._get_object(obj=obj, callback=self._save_object,
+        return self._get_object(obj=obj, callback=self._get_object_as_stream,
                                 response=response,
                                 callback_kwargs={'chunk_size': chunk_size},
                                 success_status_code=httplib.OK)



Mime
View raw message