Fix a line that got hacked up by r82659.

This commit is contained in:
Brian Curtin 2010-09-24 21:04:05 +00:00
parent a4024e2dd5
commit 82df53e932
1 changed files with 2 additions and 1 deletions

View File

@ -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),