diff options
author | Tim Peters <tim.peters@gmail.com> | 2003-03-07 15:36:41 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2003-03-07 15:36:41 (GMT) |
commit | f9347782e03caeaaede91ce91d4992c9f0d8d359 (patch) | |
tree | 3c6182d59509d542ac806bbc90a6a9d043e26024 /Lib/tarfile.py | |
parent | 1d0c6cfd9fe3fb23b0eda79e30cbfbcde4f3a666 (diff) | |
download | cpython-f9347782e03caeaaede91ce91d4992c9f0d8d359.zip cpython-f9347782e03caeaaede91ce91d4992c9f0d8d359.tar.gz cpython-f9347782e03caeaaede91ce91d4992c9f0d8d359.tar.bz2 |
Somebody must not have run the test before checking this in -- it had
a fatal tab/space inconsistency under -tt.
Diffstat (limited to 'Lib/tarfile.py')
-rw-r--r-- | Lib/tarfile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tarfile.py b/Lib/tarfile.py index 0f088a3..152b23c 100644 --- a/Lib/tarfile.py +++ b/Lib/tarfile.py @@ -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. |