From: Peter Iannucci Date: Sat, 21 Feb 2009 03:26:47 +0000 (-0500) Subject: Using socket.getfqdn X-Git-Tag: 0.0.21~8 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/commitdiff_plain/d1f005abfe2c33a368260ab73566906f95f83dab Using socket.getfqdn svn path=/trunk/packages/invirt-web/; revision=2185 --- diff --git a/code/main.py b/code/main.py index b0fa833..2e95361 100755 --- a/code/main.py +++ b/code/main.py @@ -608,7 +608,7 @@ def info(username, state, path, fields): 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 == '':