[CMF-checkins] CVS: CMF - FSImage.py:1.4
tseaver@digicool.com
tseaver@digicool.com
Thu, 12 Apr 2001 13:15:35 -0400 (EDT)
Update of /cvs-repository/CMF/CMFCore
In directory korak:/tmp/cvs-serv28080
Modified Files:
FSImage.py
Log Message:
* Ensure that we parse content type the first time through.
--- Updated File FSImage.py in package CMF --
--- FSImage.py 2001/04/11 19:28:09 1.3
+++ FSImage.py 2001/04/12 17:15:33 1.4
@@ -130,7 +130,7 @@
# Only parse out image info if the file was changed, because this file
# is read every time the image is requested.
try: mtime=os.stat(fp)[8]
- except: mtime=0
+ except: mtime=-1
if mtime != self._file_mod_time:
self._file_mod_time = mtime
(self.content_type, self.width, self.height) = getImageInfo(data)