libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r1348254 - /libcloud/trunk/libcloud/compute/drivers/joyent.py
Date Fri, 08 Jun 2012 21:37:49 GMT
Author: tomaz
Date: Fri Jun  8 21:37:49 2012
New Revision: 1348254

URL: http://svn.apache.org/viewvc?rev=1348254&view=rev
Log:
Add docstrings to Joyent driver. Contributed by Ben Rockwood part of GH-66.

Modified:
    libcloud/trunk/libcloud/compute/drivers/joyent.py

Modified: libcloud/trunk/libcloud/compute/drivers/joyent.py
URL: http://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/drivers/joyent.py?rev=1348254&r1=1348253&r2=1348254&view=diff
==============================================================================
--- libcloud/trunk/libcloud/compute/drivers/joyent.py (original)
+++ libcloud/trunk/libcloud/compute/drivers/joyent.py Fri Jun  8 21:37:49 2012
@@ -13,6 +13,10 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+"""
+Joyent Cloud (http://www.joyentcloud.com) driver.
+"""
+
 import base64
 
 try:
@@ -47,6 +51,10 @@ DEFAULT_LOCATION = LOCATIONS[0]
 
 
 class JoyentResponse(JsonResponse):
+    """
+    Joyent response class.
+    """
+
     valid_response_codes = [httplib.OK, httplib.ACCEPTED, httplib.CREATED,
                              httplib.NO_CONTENT]
 
@@ -61,6 +69,10 @@ class JoyentResponse(JsonResponse):
 
 
 class JoyentConnection(ConnectionUserAndKey):
+    """
+    Joyent connection class.
+    """
+
     responseCls = JoyentResponse
 
     def add_default_headers(self, headers):
@@ -74,6 +86,10 @@ class JoyentConnection(ConnectionUserAnd
 
 
 class JoyentNodeDriver(NodeDriver):
+    """
+    Joyent node driver class.
+    """
+
     type = Provider.JOYENT
     name = 'Joyent'
     connectionCls = JoyentConnection



Mime
View raw message