1. yolio2003
  2. CherryPy


Robert Brewer  committed f0659ca

Fixlet for _cpserver.py

  • Participants
  • Parent commits 50be400
  • Branches wspb

Comments (0)

Files changed (2)

File cherrypy/_cpnative_server.py

View file
  • Ignore whitespace
-"""Native adapter for serving CherryPy via its builtin server."""
+"""Native adapter for serving CherryPy via the cheroot HTTP server."""
 import logging
 import sys

File cherrypy/_cpserver.py

View file
  • Ignore whitespace
 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):