mirror of https://github.com/python/cpython
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:
parent
1d0c6cfd9f
commit
f9347782e0
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue