app/soc/logic/system.py
changeset 2871 e440e94a874b
parent 2865 fee8732830f7
child 2879 cb0f9b4646aa
equal deleted inserted replaced
2869:1ac6a1e1e429 2871:e440e94a874b
    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')
       
    34 
    28 
    35 def getAppVersion():
    29 def getAppVersion():
    36   """Returns the Google App Engine "version" of the running instance.
    30   """Returns the Google App Engine "version" of the running instance.
    37   """
    31   """
    38 
    32