app/soc/logic/system.py
changeset 2865 fee8732830f7
parent 1797 f0c83ca3bb08
child 2871 e440e94a874b
equal deleted inserted replaced
2863:150b42dac7c4 2865:fee8732830f7
    23 
    23 
    24 
    24 
    25 import os
    25 import os
    26 import settings
    26 import settings
    27 
    27 
       
    28 
       
    29 def getHostname():
       
    30   """Returns the hostname
       
    31   """
       
    32 
       
    33   return os.environ.get('HTTP_HOST')
    28 
    34 
    29 def getAppVersion():
    35 def getAppVersion():
    30   """Returns the Google App Engine "version" of the running instance.
    36   """Returns the Google App Engine "version" of the running instance.
    31   """
    37   """
    32 
    38