Somebody must not have run the test before checking this in -- it had

a fatal tab/space inconsistency under -tt.
This commit is contained in:
Tim Peters 2003-03-07 15:36:41 +00:00
parent 1d0c6cfd9f
commit f9347782e0
1 changed files with 1 additions and 1 deletions

View File

@ -1530,7 +1530,7 @@ class TarFile(object):
"""Set modification time of targetpath according to tarinfo.
"""
if not hasattr(os, 'utime'):
return
return
if sys.platform == "win32" and tarinfo.isdir():
# According to msdn.microsoft.com, it is an error (EACCES)
# to use utime() on directories.