author | Sverre Rabbelier <srabbelier@gmail.com> |
Mon, 07 Sep 2009 20:02:35 +0200 | |
changeset 2865 | fee8732830f7 |
parent 2863 | 150b42dac7c4 |
child 2867 | e8d86272e6ea |
--- a/app/soc/logic/system.py Sat Sep 05 15:56:19 2009 +0200 +++ b/app/soc/logic/system.py Mon Sep 07 20:02:35 2009 +0200 @@ -26,6 +26,12 @@ import settings +def getHostname(): + """Returns the hostname + """ + + return os.environ.get('HTTP_HOST') + def getAppVersion(): """Returns the Google App Engine "version" of the running instance. """