Skip to content

Commit 5adab17

Browse files
author
Sebastien Bourdeauducq
committedMar 14, 2013
flow/actor/filter_endpoints: deterministic order
1 parent fc88319 commit 5adab17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎migen/flow/actor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def token(self, ep):
5454
return self.endpoints[ep].token
5555

5656
def filter_endpoints(self, cl):
57-
return [k for k, v in self.endpoints.items() if isinstance(v, cl)]
57+
return sorted(k for k, v in self.endpoints.items() if isinstance(v, cl))
5858

5959
def sinks(self):
6060
return self.filter_endpoints(Sink)

0 commit comments

Comments
 (0)
Please sign in to comment.