From: Greg Price Date: Thu, 17 Apr 2008 04:53:07 +0000 (-0400) Subject: clarify an error message that sent me UTSLing X-Git-Tag: sipb-xen-www/3.4~36 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/commitdiff_plain/91cbb0a23c6f76ca67a0ab462c5708442db4b77e clarify an error message that sent me UTSLing svn path=/trunk/packages/sipb-xen-www/; revision=429 --- diff --git a/code/main.py b/code/main.py index c419f32..98fe1a8 100755 --- 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):