[Zope3-checkins] CVS: Zope3/src/zope/server/vfs - osfilesystem.py:1.3
Jim Fulton
jim@zope.com
Thu, 30 Jan 2003 10:53:28 -0500
Update of /cvs-repository/Zope3/src/zope/server/vfs
In directory cvs.zope.org:/tmp/cvs-serv17934
Modified Files:
osfilesystem.py
Log Message:
Ficed two bugs in the stat computation. The 6th element was missed and
stat tuple was ommitted.
The fix was needed to get the server tests working properly.
=== Zope3/src/zope/server/vfs/osfilesystem.py 1.2 => 1.3 ===
--- Zope3/src/zope/server/vfs/osfilesystem.py:1.2 Wed Dec 25 09:15:28 2002
+++ Zope3/src/zope/server/vfs/osfilesystem.py Thu Jan 30 10:52:56 2003
@@ -131,7 +131,7 @@
'See IReadFileSystem'
p = self.translate(path)
stat = os.stat(p)
- return stat[0:6], fromts(stat[7]), fromts(stat[8]), fromts(stat[9])
+ return stat[0:7] + (fromts(stat[7]), fromts(stat[8]), fromts(stat[9]))
def mkdir(self, path, mode=6*2**6):
'See IWriteFileSystem'