libcloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject svn commit: r908051 - /incubator/libcloud/trunk/libcloud/drivers/rimuhosting.py
Date Tue, 09 Feb 2010 14:30:39 GMT
Author: jerry
Date: Tue Feb  9 14:30:39 2010
New Revision: 908051

URL: http://svn.apache.org/viewvc?rev=908051&view=rev
Log:
More rimuhosting unbreaking

Modified:
    incubator/libcloud/trunk/libcloud/drivers/rimuhosting.py

Modified: incubator/libcloud/trunk/libcloud/drivers/rimuhosting.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/libcloud/drivers/rimuhosting.py?rev=908051&r1=908050&r2=908051&view=diff
==============================================================================
--- incubator/libcloud/trunk/libcloud/drivers/rimuhosting.py (original)
+++ incubator/libcloud/trunk/libcloud/drivers/rimuhosting.py Tue Feb  9 14:30:39 2010
@@ -265,8 +265,7 @@
         if kwargs.has_key('disk_space_2_mb'):
             if not data.has_key('vps_parameters'):
                 data['vps_parameters'] = {}
-            data['vps_parameters']['disk_space_2_mb'] =
-                kwargs['disk_space_2_mb']
+            data['vps_parameters']['disk_space_2_mb'] = kwargs['disk_space_2_mb']
         
         res = self.connection.request(
             '/orders/new-vps',
@@ -274,8 +273,7 @@
             data=json.dumps({"new-vps":data})
         ).object
         node = self._to_node(res['about_order'])
-        node.extra['password'] =
-            res['new_order_request']['instantiation_options']['password']
+        node.extra['password'] = res['new_order_request']['instantiation_options']['password']
         return node
     
     def list_locations(self):



Mime
View raw message