Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

flow/actor/filter_endpoints: deterministic order

  • Loading branch information...
commit 5adab17efa28ac4329a22d10c3644c33cc69b1d0 1 parent fc88319
Sébastien Bourdeauducq authored March 14, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  migen/flow/actor.py
2  migen/flow/actor.py
@@ -54,7 +54,7 @@ def token(self, ep):
54 54
 		return self.endpoints[ep].token
55 55
 	
56 56
 	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))
58 58
 
59 59
 	def sinks(self):
60 60
 		return self.filter_endpoints(Sink)

0 notes on commit 5adab17

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