Changeset 1518
- Timestamp:
- 12/11/06 13:58:16
- Files:
-
- branches/cherrypy-2.x/cherrypy/lib/cptools.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/cherrypy-2.x/cherrypy/lib/cptools.py
r1513 r1518 9 9 10 10 import os 11 import stat as _stat 11 12 import sys 12 13 import time … … 204 205 raise cherrypy.NotFound() 205 206 206 if os.path.isdir(path): 207 # Check if path is a directory. 208 if _stat.S_ISDIR(stat.st_mode): 207 209 # Let the caller deal with it as they like. 208 210 raise cherrypy.NotFound()

