Undo regression CSafeLoader in r572
authorEric Price <ecprice@mit.edu>
Tue, 3 Jun 2008 03:33:16 +0000 (23:33 -0400)
committerEric Price <ecprice@mit.edu>
Tue, 3 Jun 2008 03:33:16 +0000 (23:33 -0400)
svn path=/trunk/packages/sipb-xen-www/; revision=574

code/controls.py

index 808c988..63221a2 100644 (file)
@@ -138,7 +138,7 @@ def createVm(username, state, owner, contact, name, memory, disksize, machine_ty
 def getList():
     """Return a dictionary mapping machine names to dicts."""
     value_string = remctl('web', 'listvms')
-    value_dict = yaml.load(value_string, yaml.SafeLoader)
+    value_dict = yaml.load(value_string, yaml.CSafeLoader)
     return value_dict
 
 def parseStatus(s):