diff wsgintegrate/main.py @ 19:4d9a2a2fb8c0

print out the localhost url and other minor fixes
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 09 Mar 2013 23:03:48 -0800
parents 30e69abaadbb
children caf763fc1c7d
line wrap: on
line diff
--- a/wsgintegrate/main.py	Sun Dec 30 20:23:50 2012 -0800
+++ b/wsgintegrate/main.py	Sat Mar 09 23:03:48 2013 -0800
@@ -2,7 +2,11 @@
 
 """
 command line entry point for wsgintegrate
-serves an application from a .ini file 
+serves an application from a .ini file
+(really, a DAG)
+
+uses wsgiref, though could in theory make use of
+other WSGI servers, if available (TODO)
 """
 
 import sys
@@ -54,6 +58,7 @@
         return
 
     # serve it
+    print 'http://localhost:%d/' % options.port
     wsgiref(app=factory.load(), port=options.port)
 
 if __name__ == '__main__':