public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r11741 - main/trunk/pym/portage/dbapi
@ 2008-10-28 23:15 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2008-10-28 23:15 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2008-10-28 23:15:24 +0000 (Tue, 28 Oct 2008)
New Revision: 11741

Modified:
   main/trunk/pym/portage/dbapi/vartree.py
Log:
Fix $ROOT handling inside LinkageMap.findConsumers().


Modified: main/trunk/pym/portage/dbapi/vartree.py
===================================================================
--- main/trunk/pym/portage/dbapi/vartree.py	2008-10-28 23:04:14 UTC (rev 11740)
+++ main/trunk/pym/portage/dbapi/vartree.py	2008-10-28 23:15:24 UTC (rev 11741)
@@ -575,7 +575,8 @@
 					raise KeyError("%s (%s) not in object list" % (obj_key, obj))
 
 		# Determine the directory(ies) from the set of objects.
-		objs_dirs = set([os.path.dirname(x) for x in objs])
+		objs_dirs = set(os.path.join(self._root,
+			os.path.dirname(x).lstrip(os.sep)) for x in objs)
 
 		# If there is another version of this lib with the
 		# same soname and the master link points to that




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-28 23:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-28 23:15 [gentoo-commits] portage r11741 - main/trunk/pym/portage/dbapi Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox