[Python-checkins] CVS: python/dist/src/Lib dospath.py,1.12,1.13

Guido van Rossum python-dev@python.org
Sat, 1 Jul 2000 03:52:52 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory slayer.i.sourceforge.net:/tmp/cvs-serv20661

Modified Files:
	dospath.py 
Log Message:
getatime() returned the mtime instead of the atime.
Similar to an old bug in ntpath.py.


Index: dospath.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/dospath.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** dospath.py	2000/02/04 15:39:29	1.12
--- dospath.py	2000/07/01 10:52:49	1.13
***************
*** 132,136 ****
      """Return the last access time of a file, reported by os.stat()."""
      st = os.stat(filename)
!     return st[stat.ST_MTIME]
  
  
--- 132,136 ----
      """Return the last access time of a file, reported by os.stat()."""
      st = os.stat(filename)
!     return st[stat.ST_ATIME]