summaryrefslogtreecommitdiffstats
path: root/Lib/tarfile.py
diff options
context:
space:
mode:
authorBrian Curtin <brian.curtin@gmail.com>2010-09-24 21:04:05 (GMT)
committerBrian Curtin <brian.curtin@gmail.com>2010-09-24 21:04:05 (GMT)
commit82df53e9324450483efce4582af62ae1c2232d2d (patch)
treee274e053b3fd0122c74f868d7c375619d2ccd928 /Lib/tarfile.py
parenta4024e2dd57ac37a5020aae56db27700b090eca7 (diff)
downloadcpython-82df53e9324450483efce4582af62ae1c2232d2d.zip
cpython-82df53e9324450483efce4582af62ae1c2232d2d.tar.gz
cpython-82df53e9324450483efce4582af62ae1c2232d2d.tar.bz2
Fix a line that got hacked up by r82659.
Diffstat (limited to 'Lib/tarfile.py')
-rw-r--r--Lib/tarfile.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/tarfile.py b/Lib/tarfile.py
index 40109cd..8c330c6 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),