summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-11-08 18:29:23 +0000
committerZac Medico <zmedico@gentoo.org>2008-11-08 18:29:23 +0000
commit973a670685f5dde909c04cca5a01c7baac0c2049 (patch)
tree311894443dd3fa82b0dcded17287dc7a0788c5d0
parent81739be6afceb08ab2b47416634fa2eca79840ba (diff)
downloadportage-973a670685f5dde909c04cca5a01c7baac0c2049.tar.gz
portage-973a670685f5dde909c04cca5a01c7baac0c2049.tar.bz2
portage-973a670685f5dde909c04cca5a01c7baac0c2049.zip
Fix $ROOT handlink inside display_preserved_libs().
svn path=/main/trunk/; revision=11829
-rw-r--r--pym/_emerge/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index b02902032..ae6161017 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -11112,11 +11112,11 @@ def display_preserved_libs(vardbapi):
print colorize("WARN", ">>>") + " package: %s" % cpv
samefile_map = {}
for f in plibdata[cpv]:
- real_path = os.path.realpath(f)
- alt_paths = samefile_map.get(real_path)
+ obj_key = linkmap._obj_key(f)
+ alt_paths = samefile_map.get(obj_key)
if alt_paths is None:
alt_paths = set()
- samefile_map[real_path] = alt_paths
+ samefile_map[obj_key] = alt_paths
alt_paths.add(f)
for alt_paths in samefile_map.itervalues():