projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03e4da8
)
Use realpath(repo_path_real) to avoid a ValueError in
author
Zac Medico
<zmedico@gentoo.org>
Mon, 27 Sep 2010 07:21:10 +0000
(
00:21
-0700)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 27 Sep 2010 07:21:10 +0000
(
00:21
-0700)
_RepoDisplay.repoStr() when overlay path has a symlink.
pym/_emerge/resolver/output.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/resolver/output.py
b/pym/_emerge/resolver/output.py
index 58564f8a0c80d293403c69280ecbf48c5f1418bf..f5ba5f72a71237976a9e04e157f0ccc5f7d7cb53 100644
(file)
--- 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 = "?"