1 |
Author: zmedico |
2 |
Date: 2008-10-28 23:15:24 +0000 (Tue, 28 Oct 2008) |
3 |
New Revision: 11741 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/portage/dbapi/vartree.py |
7 |
Log: |
8 |
Fix $ROOT handling inside LinkageMap.findConsumers(). |
9 |
|
10 |
|
11 |
Modified: main/trunk/pym/portage/dbapi/vartree.py |
12 |
=================================================================== |
13 |
--- main/trunk/pym/portage/dbapi/vartree.py 2008-10-28 23:04:14 UTC (rev 11740) |
14 |
+++ main/trunk/pym/portage/dbapi/vartree.py 2008-10-28 23:15:24 UTC (rev 11741) |
15 |
@@ -575,7 +575,8 @@ |
16 |
raise KeyError("%s (%s) not in object list" % (obj_key, obj)) |
17 |
|
18 |
# Determine the directory(ies) from the set of objects. |
19 |
- objs_dirs = set([os.path.dirname(x) for x in objs]) |
20 |
+ objs_dirs = set(os.path.join(self._root, |
21 |
+ os.path.dirname(x).lstrip(os.sep)) for x in objs) |
22 |
|
23 |
# If there is another version of this lib with the |
24 |
# same soname and the master link points to that |