[pypy-commit] buildbot default: bbhook: warning comment and parameter fix for the host param of app.run

RonnyPfannschmidt noreply at buildbot.pypy.org
Mon Aug 1 14:37:09 CEST 2011


Author: Ronny Pfannschmidt <Ronny.Pfannschmidt at 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)
 


More information about the pypy-commit mailing list