You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by je...@apache.org on 2010/02/07 18:49:48 UTC

svn commit: r907459 - /incubator/libcloud/trunk/libcloud/drivers/dummy.py

Author: jerry
Date: Sun Feb  7 17:49:47 2010
New Revision: 907459

URL: http://svn.apache.org/viewvc?rev=907459&view=rev
Log:
80-col formatting update: drivers/dummy.py

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

Modified: incubator/libcloud/trunk/libcloud/drivers/dummy.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/libcloud/drivers/dummy.py?rev=907459&r1=907458&r2=907459&view=diff
==============================================================================
--- incubator/libcloud/trunk/libcloud/drivers/dummy.py (original)
+++ incubator/libcloud/trunk/libcloud/drivers/dummy.py Sun Feb  7 17:49:47 2010
@@ -81,17 +81,50 @@
 
     def list_sizes(self):
         return [
-            NodeSize(id=1, name="Small", ram=128, disk=4, bandwidth=500, price=4, driver=self),
-            NodeSize(id=2, name="Medium", ram=512, disk=16, bandwidth=1500, price=8, driver=self),
-            NodeSize(id=3, name="Big", ram=4096, disk=32, bandwidth=2500, price=32, driver=self),
-            NodeSize(id=4, name="XXL Big", ram=4096*2, disk=32*4, bandwidth=2500*3, price=32*2, driver=self),
+          NodeSize(id=1,
+                   name="Small",
+                   ram=128,
+                   disk=4,
+                   bandwidth=500,
+                   price=4,
+                   driver=self),
+          NodeSize(id=2,
+                   name="Medium",
+                   ram=512,
+                   disk=16,
+                   bandwidth=1500,
+                   price=8,
+                   driver=self),
+          NodeSize(id=3,
+                   name="Big",
+                   ram=4096,
+                   disk=32,
+                   bandwidth=2500,
+                   price=32,
+                   driver=self),
+          NodeSize(id=4,
+                   name="XXL Big",
+                   ram=4096*2,
+                   disk=32*4,
+                   bandwidth=2500*3,
+                   price=32*2,
+                   driver=self),
         ]
 
     def list_locations(self):
         return [
-            NodeLocation(id=1, name="Paul's Room", country='US', driver=self),
-            NodeLocation(id=1, name="London Loft", country='GB', driver=self),
-            NodeLocation(id=1, name="Island Datacenter", country='FJ', driver=self),
+          NodeLocation(id=1,
+                       name="Paul's Room",
+                       country='US',
+                       driver=self),
+          NodeLocation(id=1,
+                       name="London Loft",
+                       country='GB',
+                       driver=self),
+          NodeLocation(id=1,
+                       name="Island Datacenter",
+                       country='FJ',
+                       driver=self),
         ]
 
     def create_node(self, **kwargs):