using mako-render instead of mako; fixed a typo in svn.mako
[invirt/packages/invirt-web.git] / code / controls.py
index d4cc13b..8a5f1ef 100644 (file)
@@ -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