- Timestamp:
- Mar 18, 2011, 11:38:13 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/locker-dev/locker/deploy/trac/trac.fcgi
r1528 r1790 2 2 3 3 import os, os.path, sys 4 from trac.web import fcgi_frontend 4 from trac.web.main import dispatch_request 5 from trac.web._fcgi import WSGIServer 5 6 import urlparse 6 7 … … 38 39 env.log.exception(e) 39 40 if env.needs_upgrade(): 40 fcgi_frontend._fcgi.WSGIServer(send_upgrade_message).run()41 WSGIServer(send_upgrade_message).run() 41 42 sys.exit(0) 42 43 if hasattr(trac.env, 'env_cache'): … … 65 66 referrer.path, referrer.query, referrer.fragment)) 66 67 67 return fcgi_frontend.dispatch_request(environ, start_response)68 return dispatch_request(environ, start_response) 68 69 69 fcgi_frontend._fcgi.WSGIServer(my_dispatch_request).run()70 WSGIServer(my_dispatch_request).run()
Note: See TracChangeset
for help on using the changeset viewer.