[PyWebMail-Checkins] webmail wmail_sa.py,1.2,1.3
Status: Beta
Brought to you by:
dubnerm
From: Michael D. <du...@us...> - 2008-03-02 18:00:03
|
Update of /cvsroot/pywebmail/webmail In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9380 Modified Files: wmail_sa.py Log Message: standalone wsgi server Index: wmail_sa.py =================================================================== RCS file: /cvsroot/pywebmail/webmail/wmail_sa.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** wmail_sa.py 10 Oct 2004 09:49:30 -0000 1.2 --- wmail_sa.py 2 Mar 2008 18:00:03 -0000 1.3 *************** *** 1,6 **** #!/usr/bin/env python import sys ! import webmail.server.cgi_server if __name__=='__main__': ! webmail.server.cgi_server.main(sys.argv) --- 1,13 ---- #!/usr/bin/env python import sys ! import webmail.frontends.server ! ! if 0: ! import webmail.server.cgi_server ! serversetup_factory = webmail.server.cgi_server.ServerSetupFactory(None) ! else: ! import webmail.server.wsgi.webmailwsgi ! serversetup_factory = webmail.server.wsgi.webmailwsgi.WSGIServerSetup if __name__=='__main__': ! webmail.frontends.server.main(sys.argv, serversetup_factory) |