Changeset 731
- Timestamp:
- 10/09/05 23:11:25
- Files:
-
- trunk/cherrypy/lib/cptools.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/lib/cptools.py
r708 r731 32 32 33 33 from BaseHTTPServer import BaseHTTPRequestHandler 34 responseCodes = BaseHTTPRequestHandler.responses 34 responseCodes = BaseHTTPRequestHandler.responses.copy() 35 35 36 36 import inspect … … 245 245 stat = os.stat(path) 246 246 except OSError: 247 if getattr(cherrypy, "debug", None):247 if cherrypy.config.get('server.environment') == 'development': 248 248 cherrypy.log(" NOT FOUND file: %s" % path, "DEBUG") 249 249 raise cherrypy.NotFound()

