Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(474)

Unified Diff: third_party/cherrypy/wsgiserver/__init__.py

Issue 9368042: Add CherryPy to third_party. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build/
Patch Set: '' Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/cherrypy/wsgiserver/__init__.py
===================================================================
--- third_party/cherrypy/wsgiserver/__init__.py (revision 0)
+++ third_party/cherrypy/wsgiserver/__init__.py (revision 0)
@@ -0,0 +1,14 @@
+__all__ = ['HTTPRequest', 'HTTPConnection', 'HTTPServer',
+ 'SizeCheckWrapper', 'KnownLengthRFile', 'ChunkedRFile',
+ 'MaxSizeExceeded', 'NoSSLError', 'FatalSSLAlert',
+ 'WorkerThread', 'ThreadPool', 'SSLAdapter',
+ 'CherryPyWSGIServer',
+ 'Gateway', 'WSGIGateway', 'WSGIGateway_10', 'WSGIGateway_u0',
+ 'WSGIPathInfoDispatcher', 'get_ssl_adapter_class']
+
+import sys
+if sys.version_info < (3, 0):
+ from wsgiserver2 import *
+else:
+ # Le sigh. Boo for backward-incompatible syntax.
+ exec('from .wsgiserver3 import *')
Property changes on: third_party/cherrypy/wsgiserver/__init__.py
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « third_party/cherrypy/scaffold/static/made_with_cherrypy_small.png ('k') | third_party/cherrypy/wsgiserver/ssl_builtin.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698