From: Brian Curtin Date: Fri, 24 Sep 2010 21:04:05 +0000 (+0000) Subject: Fix a line that got hacked up by r82659. X-Git-Tag: v3.2a3~146 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=82df53e9324450483efce4582af62ae1c2232d2d;p=thirdparty%2FPython%2Fcpython.git Fix a line that got hacked up by r82659. --- diff --git a/Lib/tarfile.py b/Lib/tarfile.py index 40109cd4a197..8c330c680a44 100644 --- a/Lib/tarfile.py +++ b/Lib/tarfile.py @@ -2306,7 +2306,8 @@ class TarFile(object): if os.path.exists(tarinfo._link_target): os.link(tarinfo._link_target, targetpath) else: - self._extract_mem + self._extract_member(self._find_link_target(tarinfo), + targetpath) except symlink_exception: if tarinfo.issym(): linkpath = os.path.join(os.path.dirname(tarinfo.name),