flow/actor: Record.connect no longer takes kwargs
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Sat, 2 Nov 2013 22:14:32 +0000 (23:14 +0100)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Sat, 2 Nov 2013 22:14:32 +0000 (23:14 +0100)
migen/flow/actor.py

index 279182e7f744a69918263f63799a1d50f12515dc..a8388e20d11b66810e3e23e3a91267c5d57cb716 100644 (file)
@@ -22,12 +22,12 @@ class _Endpoint(Record):
                Record.__init__(self, full_layout)
 
 class Source(_Endpoint):
-       def connect(self, sink, **kwargs):
-               return Record.connect(self, sink, **kwargs)
+       def connect(self, sink):
+               return Record.connect(self, sink)
 
 class Sink(_Endpoint):
-       def connect(self, source, **kwargs):
-               return source.connect(self, **kwargs)
+       def connect(self, source):
+               return source.connect(self)
 
 def get_endpoints(obj, filt=_Endpoint):
        if hasattr(obj, "get_endpoints") and callable(obj.get_endpoints):