app/soc/logic/system.py
changeset 2879 cb0f9b4646aa
parent 2871 e440e94a874b
equal deleted inserted replaced
2878:cf4b80992451 2879:cb0f9b4646aa
    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