From b436838302b05814a757680beb2532d5220bae83 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 27 Sep 2010 00:21:10 -0700 Subject: [PATCH] Use realpath(repo_path_real) to avoid a ValueError in _RepoDisplay.repoStr() when overlay path has a symlink. --- pym/_emerge/resolver/output.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pym/_emerge/resolver/output.py b/pym/_emerge/resolver/output.py index 58564f8a0..f5ba5f72a 100644 --- a/pym/_emerge/resolver/output.py +++ b/pym/_emerge/resolver/output.py @@ -60,6 +60,7 @@ class _RepoDisplay(object): def repoStr(self, repo_path_real): real_index = -1 if repo_path_real: + repo_path_real = os.path.realpath(repo_path_real) real_index = self._repo_paths_real.index(repo_path_real) if real_index == -1: s = "?" -- 2.26.2