-def getList(machines):
- """Return a dictionary mapping machine to dicts."""
- value_string = remctl('web', 'listvms', '--pickle')
- value_dict = cPickle.loads(value_string)
-
- d = dict((m, value_dict[m.name]) for m in machines if m.name in value_dict)
- return d
+def getList():
+ """Return a dictionary mapping machine names to dicts."""
+ value_string = remctl('web', 'listvms')
+ value_dict = yaml.load(value_string, yaml.CSafeLoader)
+ return value_dict