[Zope3-checkins] CVS: Zope3/lib/python/Zope/Server/VFS - OSFileSystem.py:1.5

Stephan Richter srichter@cbu.edu
Fri, 20 Dec 2002 15:42:16 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/Server/VFS
In directory cvs.zope.org:/tmp/cvs-serv20861/VFS

Modified Files:
	OSFileSystem.py 
Log Message:
Guido pointed out that the error of the FTP bug was on my side, so I fixed it.


=== Zope3/lib/python/Zope/Server/VFS/OSFileSystem.py 1.4 => 1.5 ===
--- Zope3/lib/python/Zope/Server/VFS/OSFileSystem.py:1.4	Fri Dec 20 04:25:45 2002
+++ Zope3/lib/python/Zope/Server/VFS/OSFileSystem.py	Fri Dec 20 15:42:16 2002
@@ -237,7 +237,7 @@
 
 def safe_stat(path):
     try:
-        stat = os.stat(p)
-        return stat[0, 6], fromts(stat[7]), fromts(stat[8]), fromts(stat[9])
+        stat = os.stat(path)
+        return stat[:7] + (fromts(stat[7]), fromts(stat[8]), fromts(stat[9]))
     except OSError:
         return None