projects
/
invirt/packages/invirt-web.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49367ca
)
clarify an error message that sent me UTSLing
author
Greg Price
<price@mit.edu>
Thu, 17 Apr 2008 04:53:07 +0000
(
00:53
-0400)
committer
Greg Price
<price@mit.edu>
Thu, 17 Apr 2008 04:53:07 +0000
(
00:53
-0400)
svn path=/trunk/packages/sipb-xen-www/; revision=429
code/main.py
patch
|
blob
|
history
diff --git
a/code/main.py
b/code/main.py
index
c419f32
..
98fe1a8
100755
(executable)
--- a/
code/main.py
+++ b/
code/main.py
@@
-136,7
+136,7
@@
def hasVnc(status):
def parseCreate(user, fields):
name = fields.getfirst('name')
if not validation.validMachineName(name):
- raise InvalidInput('name', name, 'You must provide a machine name.')
+ raise InvalidInput('name', name, 'You must provide a machine name. Max 22 chars, alnum plus \'-\' and \'_\'.')
name = name.lower()
if Machine.get_by(name=name):