libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r1142277 - /libcloud/trunk/libcloud/storage/base.py
Date Sat, 02 Jul 2011 19:27:30 GMT
Author: tomaz
Date: Sat Jul  2 19:27:30 2011
New Revision: 1142277

URL: http://svn.apache.org/viewvc?rev=1142277&view=rev
Log:
Update docstrings and add a note about content_type key

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=1142277&r1=1142276&r2=1142277&view=diff
==============================================================================
--- libcloud/trunk/libcloud/storage/base.py (original)
+++ libcloud/trunk/libcloud/storage/base.py Sat Jul  2 19:27:30 2011
@@ -316,9 +316,6 @@ class StorageDriver(object):
 
         @type extra: C{dict}
         @param extra: (optional) Extra attributes (driver specific).
-
-        @type verify_hash: C{boolean}
-        @param verify_hash: True to do a file integrity check.
         """
         raise NotImplementedError(
             'upload_object not implemented for this driver')
@@ -338,6 +335,9 @@ class StorageDriver(object):
 
         @type extra: C{dict}
         @param extra: (optional) Extra attributes (driver specific).
+
+        Note: This dictionary must contain a 'content_type' key which represents
+        a content type of the stored object.
         """
         raise NotImplementedError(
             'upload_object_via_stream not implemented for this driver')



Mime
View raw message