Source

CherryPy / cherrypy / _cperror.py

Diff from to

cherrypy/_cperror.py

     
     def __init__(self, path=None):
         if path is None:
+            import cherrypy
             path = cherrypy.request.path
         self.args = (path,)
         HTTPError.__init__(self, 404, "The path %s was not found." % repr(path))