[CMF-checkins] CVS: Products/CMFCore - DirectoryView.py:1.46

Grégoire Weber zope.org at incept.ch
Wed Jun 30 11:25:16 EDT 2004


Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv22688

Modified Files:
	DirectoryView.py 
Log Message:
- some unittests failed under Windows due to wrong sys.platform tests (was 'nt', is now 'win32')


=== Products/CMFCore/DirectoryView.py 1.45 => 1.46 ===
--- Products/CMFCore/DirectoryView.py:1.45	Tue Jun  1 06:36:52 2004
+++ Products/CMFCore/DirectoryView.py	Wed Jun 30 11:24:46 2004
@@ -118,7 +118,7 @@
             filelist=[]
             try:
                 mtime = stat(self._filepath)[8]
-                if platform == 'nt':
+                if platform == 'win32':
                     # some Windows directories don't change mtime
                     # when a file is added to or deleted from them :-(
                     # So keep a list of files as well, and see if that



More information about the CMF-checkins mailing list