projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39b3846
)
Bug #228595 - Use os.path.realpath() before comparing paths to those
author
Zac Medico
<zmedico@gentoo.org>
Fri, 20 Jun 2008 18:00:25 +0000
(18:00 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 20 Jun 2008 18:00:25 +0000
(18:00 -0000)
returned from portdbapi.getRepositoryPath() since those paths are
also cannonical.
svn path=/main/trunk/; revision=10746
pym/_emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/__init__.py
b/pym/_emerge/__init__.py
index f918d20ac84446d5668bb343cae51cbd9a59a96f..6ce1208880fdb2c5779ab12f8746288cc065c93d 100644
(file)
--- a/
pym/_emerge/__init__.py
+++ b/
pym/_emerge/__init__.py
@@
-9076,6
+9076,7
@@
def emerge_main():
if "porttree" in trees[root]:
db = trees[root]["porttree"].dbapi
paths = (db.mysettings["PORTDIR"]+" "+db.mysettings["PORTDIR_OVERLAY"]).split()
+ paths = [os.path.realpath(p) for p in paths]
repos = db.getRepositories()
for r in repos:
p = db.getRepositoryPath(r)