From 61e139006534d23f9d333debf2616273f8b51f72 Mon Sep 17 00:00:00 2001 From: Paul Nasrat Date: Thu, 15 Dec 2005 13:51:21 +0000 Subject: Use new relationship stores --- sortedtransaction.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'sortedtransaction.py') diff --git a/sortedtransaction.py b/sortedtransaction.py index 4090d388b..257c91209 100644 --- a/sortedtransaction.py +++ b/sortedtransaction.py @@ -21,10 +21,7 @@ class SortableTransactionData(TransactionData): def _visit(self, txmbr): self.path.append(txmbr.name) txmbr.sortColour = GREY - for (relation, reltype) in txmbr.relatedto: - if reltype != 'dependson': - continue - vertex = self.getMembers(pkgtup=relation)[0] + for vertex in txmbr.depends_on: if vertex.sortColour == GREY: self._doLoop(vertex.name) if vertex.sortColour == WHITE: -- cgit