Pass parent EventHook down to children
This commit is contained in:
parent
8dc83e5aac
commit
6c63655a6e
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ class EventHook(object):
|
||||||
child_name_lower = child_name.lower()
|
child_name_lower = child_name.lower()
|
||||||
if not child_name_lower in self._children:
|
if not child_name_lower in self._children:
|
||||||
self._children[child_name_lower] = EventHook(self.log,
|
self._children[child_name_lower] = EventHook(self.log,
|
||||||
child_name_lower)
|
child_name_lower, self)
|
||||||
return self._children[child_name_lower]
|
return self._children[child_name_lower]
|
||||||
def remove_child(self, child_name):
|
def remove_child(self, child_name):
|
||||||
child_name_lower = child_name.lower()
|
child_name_lower = child_name.lower()
|
||||||
|
|
Loading…
Reference in a new issue