Commits

Robert Brewer committed ca1891b

Fix for #667 (SIGTERM broken).

Comments (0)

Files changed (1)

cherrypy/_cpengine.py

             self.reexec()
     
     if hasattr(signal, "SIGTERM"):
-        def SIGTERM(signum=None, frame=None):
+        def SIGTERM(self, signum=None, frame=None):
             cherrypy.server.stop()
             self.stop()