From 5adab17efa28ac4329a22d10c3644c33cc69b1d0 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 14 Mar 2013 12:20:18 +0100 Subject: [PATCH] flow/actor/filter_endpoints: deterministic order --- migen/flow/actor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migen/flow/actor.py b/migen/flow/actor.py index ce46638d..0b286342 100644 --- a/migen/flow/actor.py +++ b/migen/flow/actor.py @@ -54,7 +54,7 @@ class Actor(HUID): return self.endpoints[ep].token def filter_endpoints(self, cl): - return [k for k, v in self.endpoints.items() if isinstance(v, cl)] + return sorted(k for k, v in self.endpoints.items() if isinstance(v, cl)) def sinks(self): return self.filter_endpoints(Sink) -- 2.30.2