[LNT] r197227 - Fixed a small bug where the --hostname argument to lnt create was not being interpolated into the wsgi script.

Michael Gottesman mgottesman at apple.com
Fri Dec 13 05:21:54 PST 2013


Author: mgottesman
Date: Fri Dec 13 07:21:54 2013
New Revision: 197227

URL: http://llvm.org/viewvc/llvm-project?rev=197227&view=rev
Log:
Fixed a small bug where the --hostname argument to lnt create was not being interpolated into the wsgi script.

This looks like just a careless mistake where the interpolation pattern was not
placed in correctly.

Modified:
    lnt/trunk/lnt/lnttool/create.py

Modified: lnt/trunk/lnt/lnttool/create.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/lnttool/create.py?rev=197227&r1=197226&r2=197227&view=diff
==============================================================================
--- lnt/trunk/lnt/lnttool/create.py (original)
+++ lnt/trunk/lnt/lnttool/create.py Fri Dec 13 07:21:54 2013
@@ -75,7 +75,7 @@ application = lnt.server.ui.app.App.crea
 
 if __name__ == "__main__":
     import werkzeug
-    werkzeug.run_simple('localhost', 8000, application)
+    werkzeug.run_simple('%(hostname)s', 8000, application)
 """
 
 ###





More information about the llvm-commits mailing list