Changeset 2182 for trunk/packages/invirt-web/code/main.py
- Timestamp:
- Feb 20, 2009, 10:09:34 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-web/code/main.py
r2161 r2182 13 13 import time 14 14 import urllib 15 import os 15 16 from StringIO import StringIO 16 17 … … 607 608 def unauthFront(_, _2, _3, fields): 608 609 """Information for unauth'd users.""" 609 return templates.unauth(searchList=[{'simple' : True}]) 610 return templates.unauth(searchList=[{'simple' : True, 611 'hostname' : os.environ['HOSTNAME'] if 'HOSTNAME' in os.environ else 'xvm.mit.edu'}]) 610 612 611 613 def admin(username, state, path, fields):
Note: See TracChangeset
for help on using the changeset viewer.