From 44735245306928519e35ea86cdf6cf3cdc87cbcf Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 5 Mar 2013 05:42:34 -0800 Subject: Add support for sub-slots. --- tinderbox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tinderbox.py') diff --git a/tinderbox.py b/tinderbox.py index 3c4a37f..de1ecb4 100755 --- a/tinderbox.py +++ b/tinderbox.py @@ -90,7 +90,7 @@ for cp in portdb.cp_all(): # in the slot then drop it in order to avoid a slot # conflict. slot_atom = "%s:%s" % (portage.cpv_getkey(dep_pkg), - metadata["SLOT"]) + metadata["SLOT"].split("/")[0]) best_visible_slot = portdb.xmatch("bestmatch-visible", slot_atom) if dep_pkg != best_visible_slot: -- cgit v1.2.3-65-gdbad