Author: Ronny Pfannschmidt <ronny.pfannschm...@gmx.de>
Branch: 
Changeset: r544:8f7057902356
Date: 2011-08-01 12:28 +0200
http://bitbucket.org/pypy/buildbot/changeset/8f7057902356/

Log:    bbhook: warning comment and parameter fix for the host param of
        app.run

diff --git a/bbhook/run.py b/bbhook/run.py
--- a/bbhook/run.py
+++ b/bbhook/run.py
@@ -16,8 +16,11 @@
     #HOST_NAME = 'wyvern.cs.uni-duesseldorf.de'
     HOST_NAME = ''
     PORT_NUMBER = 9237
+    # WARNING:
+    # deply is meant as a argument for running public facing,
+    # its not supposed to be used when running a proxy setup
     main.app.run(
-        host = HOST_NAME if 'deploy' in sys.argv else 'localhost',
+        host = HOST_NAME if 'deploy' in sys.argv else '127.0.0.1',
         debug = 'debug' in sys.argv,
         port=PORT_NUMBER)
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to