Commits

Anonymous committed 7771c55

remove dependency on cherrypy introduced when switched to 3.2branch

Comments (0)

Files changed (2)

django_wsgiserver/wsgiserver/ssl_builtin.py

     import ssl
 except ImportError:
     ssl = None
-
-from cherrypy import wsgiserver
-
+#original cherrypy version
+#from cherrypy import wsgiserver
+from django_wsgiserver import wsgiserver
 
 class BuiltinSSLAdapter(wsgiserver.SSLAdapter):
     """A wrapper for integrating Python's builtin ssl module with CherryPy."""

django_wsgiserver/wsgiserver/ssl_pyopenssl.py

 import threading
 import time
 
-from cherrypy import wsgiserver
+#from cherrypy import wsgiserver
+from django_wsgiserver import wsgiserver
 
 try:
     from OpenSSL import SSL