[Python-checkins] CVS: python/dist/src/Lib posixpath.py,1.27,1.28
Guido van Rossum
guido@cnri.reston.va.us
Wed, 23 Feb 2000 21:26:54 -0500 (EST)
Update of /projects/cvsroot/python/dist/src/Lib
In directory eric:/projects/python/develop/guido/src/Lib
Modified Files:
posixpath.py
Log Message:
Mark Favas discovered this: getatime() accidentally returned the MTIME!
This fixes PR#211.
Index: posixpath.py
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Lib/posixpath.py,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -r1.27 -r1.28
*** posixpath.py 2000/02/04 15:10:34 1.27
--- posixpath.py 2000/02/24 02:26:51 1.28
***************
*** 144,148 ****
"""Return the last access time of a file, reported by os.stat()."""
st = os.stat(filename)
! return st[stat.ST_MTIME]
--- 144,148 ----
"""Return the last access time of a file, reported by os.stat()."""
st = os.stat(filename)
! return st[stat.ST_ATIME]