David Larlet committed d4014b8 Merge

Merge @pydanny's modifications on mosso storage

Comments (0)

Files changed (1)


         Use the Cloud Files service to write ``content`` to a remote file
         (called ``name``).
         cloud_obj = self.container.create_object(name)
-        cloud_obj.size = content.file.size
+        cloud_obj.size = content.size
         # If the content type is available, pass it in directly rather than
         # getting the cloud object to try to guess.
         if hasattr(content.file, 'content_type'):