Changeset 2185


Ignore:
Timestamp:
Feb 20, 2009, 10:26:47 PM (15 years ago)
Author:
iannucci
Message:

Using socket.getfqdn

File:
1 edited

Legend:

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

    r2184 r2185  
    609609    """Information for unauth'd users."""
    610610    return templates.unauth(searchList=[{'simple' : True,
    611             'hostname' : os.uname()[1]}])
     611            'hostname' : socket.getfqdn()}])
    612612
    613613def admin(username, state, path, fields):
Note: See TracChangeset for help on using the changeset viewer.