From d2b87d29c70394a4d15ab17ce8caee91f835acb9 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Mon, 2 Jun 2008 04:39:16 -0400 Subject: [PATCH] TURBOYAML!!1 svn path=/trunk/packages/sipb-xen-www/; revision=563 --- code/controls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/controls.py b/code/controls.py index e389823..d4afab0 100644 --- a/code/controls.py +++ b/code/controls.py @@ -140,7 +140,7 @@ def createVm(owner, contact, name, memory, disk_size, machine_type, cdrom, clone def getList(): """Return a dictionary mapping machine names to dicts.""" value_string = remctl('web', 'listvms') - value_dict = yaml.safe_load(value_string) + value_dict = yaml.load(value_string, yaml.CSafeLoader) return value_dict def parseStatus(s): -- 1.7.9.5