diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-09-27 00:21:10 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-09-27 00:21:10 -0700 |
commit | b436838302b05814a757680beb2532d5220bae83 (patch) | |
tree | 072db28673062b876eb0893787e29fc0a2dae400 | |
parent | 03e4da855927aa69687acad97246be50096b6b00 (diff) | |
download | portage-b436838302b05814a757680beb2532d5220bae83.tar.gz portage-b436838302b05814a757680beb2532d5220bae83.tar.bz2 portage-b436838302b05814a757680beb2532d5220bae83.zip |
Use realpath(repo_path_real) to avoid a ValueError in
_RepoDisplay.repoStr() when overlay path has a symlink.
-rw-r--r-- | pym/_emerge/resolver/output.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 = "?" |