[PyWebMail-Checkins] webmail wmail_nt.py,1.4,1.5
Status: Beta
Brought to you by:
dubnerm
From: Michael D. <du...@us...> - 2008-03-02 17:44:25
|
Update of /cvsroot/pywebmail/webmail In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3916 Modified Files: wmail_nt.py Log Message: wsgi support Index: wmail_nt.py =================================================================== RCS file: /cvsroot/pywebmail/webmail/wmail_nt.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** wmail_nt.py 10 Oct 2004 09:49:30 -0000 1.4 --- wmail_nt.py 2 Mar 2008 17:44:23 -0000 1.5 *************** *** 2,9 **** import win32serviceutil import webmail.frontends.ntservice - import webmail.server.cgi_server ! class WebMailHTTPService(webmail.frontends.ntservice.ServiceSetupMixin, ! webmail.server.cgi_server.WebMailHTTPServerSetup): # NTService specific parameters _svc_name_ = 'PyWebMailHTTP' --- 2,14 ---- import win32serviceutil import webmail.frontends.ntservice ! if 0: ! import webmail.server.cgi_server ! serversetup_class = webmail.server.cgi_server.WebMailHTTPServerSetup ! else: ! import webmail.server.wsgi.webmailwsgi ! serversetup_class = webmail.server.wsgi.webmailwsgi.WSGIServerSetup ! ! class WebMailHTTPService(webmail.frontends.ntservice.ServiceSetupMixin, serversetup_class): # NTService specific parameters _svc_name_ = 'PyWebMailHTTP' *************** *** 12,17 **** def __init__(self, argv): ! webmail.frontends.ntservice.ServiceSetupMixin.__init__(self, argv, ! webmail.server.cgi_server.WebMailHTTPServerSetup) if __name__=='__main__': --- 17,21 ---- def __init__(self, argv): ! webmail.frontends.ntservice.ServiceSetupMixin.__init__(self, argv, serversetup_class) if __name__=='__main__': |