mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
flow/actor/Endpoint: clean up __getattr__
This commit is contained in:
parent
37031e3a2f
commit
86abb253c8
1 changed files with 1 additions and 4 deletions
|
@ -35,11 +35,8 @@ class _Endpoint(Record):
|
|||
]
|
||||
Record.__init__(self, endpoint_layout)
|
||||
|
||||
def __del__(self):
|
||||
pass
|
||||
|
||||
def __getattr__(self, name):
|
||||
return getattr(self.payload, name)
|
||||
return getattr(object.__getattribute__(self, "payload"), name)
|
||||
|
||||
class Source(_Endpoint):
|
||||
def connect(self, sink):
|
||||
|
|
Loading…
Reference in a new issue