60
60
self[hook_name].append(a_callable)
62
62
self.name_hook(a_callable, name)
64
64
raise errors.UnknownHook(self.__class__.__name__, hook_name)
66
80
def name_hook(self, a_callable, name):
67
81
"""Associate name with a_callable to show users what is running."""
68
82
self._callable_names[a_callable] = name