From: Tim Peters Date: Fri, 7 Mar 2003 15:36:41 +0000 (+0000) Subject: Somebody must not have run the test before checking this in -- it had X-Git-Tag: v2.3c1~1536 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f9347782e03caeaaede91ce91d4992c9f0d8d359;p=thirdparty%2FPython%2Fcpython.git Somebody must not have run the test before checking this in -- it had a fatal tab/space inconsistency under -tt. --- diff --git a/Lib/tarfile.py b/Lib/tarfile.py index 0f088a3718ca..152b23c252c9 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.