From f9347782e03caeaaede91ce91d4992c9f0d8d359 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Fri, 7 Mar 2003 15:36:41 +0000 Subject: [PATCH] Somebody must not have run the test before checking this in -- it had a fatal tab/space inconsistency under -tt. --- Lib/tarfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/tarfile.py b/Lib/tarfile.py index 0f088a3718c..152b23c252c 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.