mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue