commit | 46d565111e6c7c3f84761e9025e7e933ad31c33f | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sat Jul 01 10:52:49 2000 +0000 |
committer | Guido van Rossum <guido@python.org> | Sat Jul 01 10:52:49 2000 +0000 |
tree | 7d1dc480acc5866848a7257c7dfbadec30c26399 | |
parent | 9e94afd18daec70460ff52b4a75bde31e60347b4 [diff] [blame] |
getatime() returned the mtime instead of the atime. Similar to an old bug in ntpath.py.
diff --git a/Lib/dospath.py b/Lib/dospath.py index 4e4be56..98efe67 100644 --- a/Lib/dospath.py +++ b/Lib/dospath.py
@@ -131,7 +131,7 @@ def getatime(filename): """Return the last access time of a file, reported by os.stat().""" st = os.stat(filename) - return st[stat.ST_MTIME] + return st[stat.ST_ATIME] def islink(path):