import sys
import time
import urllib
-import os
+import socket
from StringIO import StringIO
def revertStandardError():
def unauthFront(_, _2, _3, fields):
"""Information for unauth'd users."""
return templates.unauth(searchList=[{'simple' : True,
- 'hostname' : os.uname()[1]}])
+ 'hostname' : socket.getfqdn()}])
def admin(username, state, path, fields):
if path == '':