Remove weird side effects that insert the values from previuos call
This commit is contained in:
parent
0a442e4ab5
commit
2eb04e0428
@ -55,8 +55,8 @@ class Message:
|
|||||||
self.name = name
|
self.name = name
|
||||||
if not self.name:
|
if not self.name:
|
||||||
self.name = self.__class__.__name__
|
self.name = self.__class__.__name__
|
||||||
self._attrs = attrs
|
self._attrs = {} | attrs
|
||||||
self._childs = childs
|
self._childs = {} | childs
|
||||||
self.childs = self.Childs(self.CHILDS, self._childs)
|
self.childs = self.Childs(self.CHILDS, self._childs)
|
||||||
|
|
||||||
def __getattr__(self, name):
|
def __getattr__(self, name):
|
||||||
|
Loading…
Reference in New Issue
Block a user