# put stuff in the table
transaction = ctx.current.create_transaction()
try:
- validation.Validate(username, state, owner=owner, memory=memory, disksize=disksize/1024.)
+ validation.Validate(username, state, name=name, owner=owner, memory=memory, disksize=disksize/1024.)
res = meta.engine.execute('select nextval('
'\'"machines_machine_id_seq"\')')
id = res.fetchone()[0]
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):