From 86abb253c8406927d252ac29f244dcf828a9c144 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 21 Oct 2014 18:39:19 +0200 Subject: [PATCH] flow/actor/Endpoint: clean up __getattr__ --- migen/flow/actor.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/migen/flow/actor.py b/migen/flow/actor.py index 00837fd3..5931ebb4 100644 --- a/migen/flow/actor.py +++ b/migen/flow/actor.py @@ -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): -- 2.30.2