projects
/
invirt/packages/invirt-web.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ad1579
)
TURBOYAML!!1
author
Anders Kaseorg
<andersk@mit.edu>
Mon, 2 Jun 2008 08:39:16 +0000
(
04:39
-0400)
committer
Anders Kaseorg
<andersk@mit.edu>
Mon, 2 Jun 2008 08:39:16 +0000
(
04:39
-0400)
svn path=/trunk/packages/sipb-xen-www/; revision=563
code/controls.py
patch
|
blob
|
history
diff --git
a/code/controls.py
b/code/controls.py
index
e389823
..
d4afab0
100644
(file)
--- 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):