mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-26 00:10:18 +00:00
ASCTracer: Fix subclassing
Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
dbeb174ac9
commit
71cdcb9bef
1 changed files with 2 additions and 1 deletions
|
@ -125,7 +125,8 @@ class ASCTracer(ADTDevTracer):
|
|||
def start(self):
|
||||
super().start()
|
||||
self.msgmap = {}
|
||||
for name, i in self.__class__.__dict__.items():
|
||||
for name in dir(self):
|
||||
i = getattr(self, name)
|
||||
if not callable(i) or not getattr(i, "is_message", False):
|
||||
continue
|
||||
self.msgmap[i.direction, i.channel, i.message] = getattr(self, name), name, i.regtype
|
||||
|
|
Loading…
Reference in a new issue