Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

flow/actor/filter_endpoints: deterministic order

  • Loading branch information...
commit 5adab17efa28ac4329a22d10c3644c33cc69b1d0 1 parent fc88319
@sbourdeauducq sbourdeauducq authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  migen/flow/actor.py
View
2  migen/flow/actor.py
@@ -54,7 +54,7 @@ def token(self, ep):
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)

0 comments on commit 5adab17

Please sign in to comment.
Something went wrong with that request. Please try again.