Skip to content

Commit

Permalink
Update references to point to moved wsgi module
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Jan 10, 2017
1 parent 498f9a0 commit 0c09e54
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cherrypy/_cpwsgi_server.py
Expand Up @@ -4,14 +4,15 @@
"""
import sys

import cheroot.wsgi
import cheroot.server

import cherrypy


class CPWSGIServer(cheroot.server.WSGIServer):
class CPWSGIServer(cheroot.wsgi.WSGIServer):

"""Wrapper for cheroot.server.WSGIServer.
"""Wrapper for cheroot.wsgi.WSGIServer.
cheroot has been designed to not reference CherryPy in any way,
so that it can be used in other frameworks and applications. Therefore,
Expand All @@ -33,7 +34,7 @@ def __init__(self, server_adapter=cherrypy.server):
None)

self.wsgi_version = self.server_adapter.wsgi_version
s = cheroot.server.WSGIServer
s = cheroot.wsgi.WSGIServer
s.__init__(self, server_adapter.bind_addr, cherrypy.tree,
self.server_adapter.thread_pool,
server_name,
Expand Down

0 comments on commit 0c09e54

Please sign in to comment.