Commits

Robert Brewer committed f0659ca

Fixlet for _cpserver.py

  • Participants
  • Parent commits 50be400
  • Branches wspb

Comments (0)

Files changed (2)

File cherrypy/_cpnative_server.py

-"""Native adapter for serving CherryPy via its builtin server."""
+"""Native adapter for serving CherryPy via the cheroot HTTP server."""
 
 import logging
 import sys
                 self.server_adapter.ssl_private_key,
                 self.server_adapter.ssl_certificate_chain)
 
-

File cherrypy/_cpserver.py

 from magicbus.plugins.servers import *
 
 
-class Server(ServerAdapter):
+class Server(ServerPlugin):
     """An adapter for an HTTP server.
     
     You can set attributes (like socket_host and socket_port)
         """Start the HTTP server."""
         if not self.httpserver:
             self.httpserver, self.bind_addr = self.httpserver_from_self()
-        ServerAdapter.start(self)
+        ServerPlugin.start(self)
     start.priority = 75
     
     def _get_bind_addr(self):