Skip to content

Commit 86abb25

Browse files
enjoy-digitalsbourdeauducq
authored andcommittedOct 22, 2014
flow/actor/Endpoint: clean up __getattr__
1 parent 37031e3 commit 86abb25

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed
 

‎migen/flow/actor.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,8 @@ def __init__(self, layout, packetized=False):
3535
]
3636
Record.__init__(self, endpoint_layout)
3737

38-
def __del__(self):
39-
pass
40-
4138
def __getattr__(self, name):
42-
return getattr(self.payload, name)
39+
return getattr(object.__getattribute__(self, "payload"), name)
4340

4441
class Source(_Endpoint):
4542
def connect(self, sink):

0 commit comments

Comments
 (0)
Please sign in to comment.