From ad7efdcfaf55fc1cc30d8960f93f57412b2d747e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 13 Jul 2006 04:15:47 +0000 Subject: Remove orphan srctarget variable. svn path=/main/trunk/; revision=3842 --- pym/portage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage.py b/pym/portage.py index c9d55ae76..8f0609c17 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -6511,7 +6511,7 @@ class dblink: # directory in the way: we can't merge a symlink over a directory # we won't merge this, continue with next file... continue - srctarget = os.path.normpath(os.path.dirname(mysrc)+"/"+myto) + if os.path.exists(mysrc) and stat.S_ISDIR(os.stat(mysrc)[stat.ST_MODE]): # Kill file blocking installation of symlink to dir #71787 pass -- cgit v1.2.3-1-g7c22