X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/a866772381ee2e793857166b45b3de3fb3e65147..4968927e695e31396ba840f07a61fab1424c5c76:/code/controls.py diff --git a/code/controls.py b/code/controls.py index d4cc13b..8a5f1ef 100644 --- a/code/controls.py +++ b/code/controls.py @@ -132,7 +132,7 @@ def createVm(username, state, owner, contact, name, description, memory, disksiz open_nics = NIC.select_by(machine_id=None) if not open_nics: #No IPs left! raise CodeError("No IP addresses left! " - "Contact xvm@mit.edu.") + "Contact %s." % config.web.errormail) nic = open_nics[0] nic.machine_id = machine.machine_id nic.hostname = name