You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by pq...@apache.org on 2010/05/05 02:16:46 UTC

svn commit: r941118 - /incubator/libcloud/trunk/libcloud/drivers/voxel.py

Author: pquerna
Date: Wed May  5 00:16:45 2010
New Revision: 941118

URL: http://svn.apache.org/viewvc?rev=941118&view=rev
Log:
s/initialize_instance_types/_initialize_instance_types/;

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

Modified: incubator/libcloud/trunk/libcloud/drivers/voxel.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/libcloud/drivers/voxel.py?rev=941118&r1=941117&r2=941118&view=diff
==============================================================================
--- incubator/libcloud/trunk/libcloud/drivers/voxel.py (original)
+++ incubator/libcloud/trunk/libcloud/drivers/voxel.py Wed May  5 00:16:45 2010
@@ -106,7 +106,7 @@ class VoxelNodeDriver(NodeDriver):
     type = Provider.VOXEL
     name = 'Voxel VoxCLOUD'
 
-    def initialize_instance_types():
+    def _initialize_instance_types():
         for cpus in range(1,14):
             if cpus == 1:
                 name = "Single CPU"
@@ -126,7 +126,7 @@ class VoxelNodeDriver(NodeDriver):
     features = {"create_node": [],
                 "list_sizes":  ["variable_disk"]}
 
-    initialize_instance_types()
+    _initialize_instance_types()
 
     def list_nodes(self):
         params = {"method": "voxel.devices.list"}