commit | 4791a242688167ffc4abb3b9f42d6cd9e877652e | [log] [tgz] |
---|---|---|
author | Jesus Cea <jcea@jcea.es> | Fri Oct 05 03:15:39 2012 +0200 |
committer | Jesus Cea <jcea@jcea.es> | Fri Oct 05 03:15:39 2012 +0200 |
tree | 62a566c811ae808f9dd7a7aa10e655d4d3aad56b | |
parent | f1af7057208da7b3d15703645688fea971a4fb5e [diff] [blame] |
#16135: Removal of OS/2 support (Python code partial cleanup)
diff --git a/Lib/tarfile.py b/Lib/tarfile.py index 7b9f407..a88224d 100644 --- a/Lib/tarfile.py +++ b/Lib/tarfile.py
@@ -2213,8 +2213,7 @@ if tarinfo.issym() and hasattr(os, "lchown"): os.lchown(targetpath, u, g) else: - if sys.platform != "os2emx": - os.chown(targetpath, u, g) + os.chown(targetpath, u, g) except EnvironmentError as e: raise ExtractError("could not change owner")