From: Eric Price Date: Tue, 3 Jun 2008 03:33:16 +0000 (-0400) Subject: Undo regression CSafeLoader in r572 X-Git-Tag: sipb-xen-www/3.6~67 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/commitdiff_plain/7366db2d9f9938283c4d12a4a7a84d2b872b3898 Undo regression CSafeLoader in r572 svn path=/trunk/packages/sipb-xen-www/; revision=574 --- diff --git a/code/controls.py b/code/controls.py index 808c988..63221a2 100644 --- a/code/controls.py +++ b/code/controls.py @@ -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):