1. ramkalari
  2. CherryPy


Robert Brewer  committed 27e9c4b

Bah. Forgot an import. That'll teach me to skip the tests.

  • Participants
  • Parent commits 7f36758
  • Branches default

Comments (0)

Files changed (1)

File cherrypy/_cperror.py

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