projects
/
invirt/packages/invirt-web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
using mako-render instead of mako; fixed a typo in svn.mako
[invirt/packages/invirt-web.git]
/
code
/
controls.py
diff --git
a/code/controls.py
b/code/controls.py
index
d4cc13b
..
8a5f1ef
100644
(file)
--- 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! "
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
nic = open_nics[0]
nic.machine_id = machine.machine_id
nic.hostname = name