diff options
Diffstat (limited to 'Lib/tarfile.py')
-rw-r--r-- | Lib/tarfile.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/tarfile.py b/Lib/tarfile.py index ab74cc5..b678185 100644 --- a/Lib/tarfile.py +++ b/Lib/tarfile.py @@ -2284,10 +2284,6 @@ class TarFile(object): """ if not hasattr(os, 'utime'): return - if sys.platform == "win32" and tarinfo.isdir(): - # According to msdn.microsoft.com, it is an error (EACCES) - # to use utime() on directories. - return try: os.utime(targetpath, (tarinfo.mtime, tarinfo.mtime)) except EnvironmentError, e: |