quixote/server medusa_http.py,1.2,1.3

Andrew Kuchling <akuchlin-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]>
Newsgroups gmane.comp.web.quixote.cvs
Message-ID <[email protected]>
Update of /home/cvs/quixote/server
In directory hewson:/tmp/cvs-serv9690/server

Modified Files:
	medusa_http.py 
Log Message:
Add #! line to medusa_http.py; call setup_logs()

Index: medusa_http.py
===================================================================
RCS file: /home/cvs/quixote/server/medusa_http.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- medusa_http.py	5 Aug 2002 16:41:57 -0000	1.2
+++ medusa_http.py	4 Nov 2002 17:51:57 -0000	1.3
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 """quixote.server.medusa_http
 
 An HTTP handler for Medusa that publishes a Quixote application.
@@ -100,6 +102,7 @@
     print 'Now serving the Quixote demo on port 8080'
     server = http_server.http_server('', 8080)
     publisher = Publisher('quixote.demo')
+    publisher.setup_logs()
     dh = QuixoteHandler(publisher, 'Quixote/demo', server)
     server.install_handler(dh)
     asyncore.loop()
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.