app/profiler.py
author Sverre Rabbelier <srabbelier@gmail.com>
Mon, 07 Sep 2009 20:06:27 +0200
changeset 2876 b52227d8b423
parent 2832 2a0a7e081caf
permissions -rw-r--r--
Use system.getHostname() everywhere Replace os.environ['HTTP_HOST'] with system.getHostname(), as a result we do not crash when 'HTTP_HOST' is unset now.

import gae_django
import app_profiler.app_profiler

def main():
   app_profiler.app_profiler.main()

if __name__ == '__main__':
   main()