diff options
-rw-r--r-- | pym/_emerge/__init__.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 1add5ed5d..910e518d9 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -10967,9 +10967,11 @@ def display_preserved_libs(vardbapi): samefile_map[real_path] = alt_paths alt_paths.add(f) - for f, alt_paths in samefile_map.iteritems(): - for p in sorted(alt_paths): + for alt_paths in samefile_map.itervalues(): + alt_paths = sorted(alt_paths) + for p in alt_paths: print colorize("WARN", " * ") + " - %s" % (p,) + f = alt_paths[0] consumers = consumer_map[f] for c in consumers[:MAX_DISPLAY]: print colorize("WARN", " * ") + " used by %s (%s)" % \ |