From: Zac Medico Date: Mon, 27 Sep 2010 07:21:10 +0000 (-0700) Subject: Use realpath(repo_path_real) to avoid a ValueError in X-Git-Tag: v2.2_rc90~103 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b436838302b05814a757680beb2532d5220bae83;p=portage.git Use realpath(repo_path_real) to avoid a ValueError in _RepoDisplay.repoStr() when overlay path has a symlink. --- 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 = "?"