Ignore:
Timestamp:
Feb 20, 2009, 10:21:57 PM (16 years ago)
Author:
iannucci
Message:

Fixed to use uname instead of environ

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-web/code/main.py

    r2182 r2184  
    609609    """Information for unauth'd users."""
    610610    return templates.unauth(searchList=[{'simple' : True,
    611             'hostname' : os.environ['HOSTNAME'] if 'HOSTNAME' in os.environ else 'xvm.mit.edu'}])
     611            'hostname' : os.uname()[1]}])
    612612
    613613def admin(username, state, path, fields):
Note: See TracChangeset for help on using the changeset viewer.