svn path=/trunk/packages/invirt-web/; revision=2184
def unauthFront(_, _2, _3, fields):
"""Information for unauth'd users."""
return templates.unauth(searchList=[{'simple' : True,
def unauthFront(_, _2, _3, fields):
"""Information for unauth'd users."""
return templates.unauth(searchList=[{'simple' : True,
- 'hostname' : os.environ['HOSTNAME'] if 'HOSTNAME' in os.environ else 'xvm.mit.edu'}])
+ 'hostname' : os.uname()[1]}])
def admin(username, state, path, fields):
if path == '':
def admin(username, state, path, fields):
if path == '':