1 |
Author: zmedico |
2 |
Date: 2008-06-20 18:00:25 +0000 (Fri, 20 Jun 2008) |
3 |
New Revision: 10746 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/_emerge/__init__.py |
7 |
Log: |
8 |
Bug #228595 - Use os.path.realpath() before comparing paths to those |
9 |
returned from portdbapi.getRepositoryPath() since those paths are |
10 |
also cannonical. |
11 |
|
12 |
|
13 |
Modified: main/trunk/pym/_emerge/__init__.py |
14 |
=================================================================== |
15 |
--- main/trunk/pym/_emerge/__init__.py 2008-06-20 17:36:18 UTC (rev 10745) |
16 |
+++ main/trunk/pym/_emerge/__init__.py 2008-06-20 18:00:25 UTC (rev 10746) |
17 |
@@ -9076,6 +9076,7 @@ |
18 |
if "porttree" in trees[root]: |
19 |
db = trees[root]["porttree"].dbapi |
20 |
paths = (db.mysettings["PORTDIR"]+" "+db.mysettings["PORTDIR_OVERLAY"]).split() |
21 |
+ paths = [os.path.realpath(p) for p in paths] |
22 |
repos = db.getRepositories() |
23 |
for r in repos: |
24 |
p = db.getRepositoryPath(r) |
25 |
|
26 |
-- |
27 |
gentoo-commits@l.g.o mailing list |