equal
deleted
inserted
replaced
80 kwargs['event'] = event |
80 kwargs['event'] = event |
81 for hook in sorted(self.possible_objects(req, **kwargs), key=lambda x: x.order): |
81 for hook in sorted(self.possible_objects(req, **kwargs), key=lambda x: x.order): |
82 if hook.enabled: |
82 if hook.enabled: |
83 hook() |
83 hook() |
84 else: |
84 else: |
85 warn('[3.6] %s: enabled is deprecated' % self.__class__) |
85 warn('[3.6] %s: enabled is deprecated' % hook.__class__) |
86 |
86 |
87 VRegistry.REGISTRY_FACTORY['hooks'] = HooksRegistry |
87 VRegistry.REGISTRY_FACTORY['hooks'] = HooksRegistry |
88 |
88 |
89 |
89 |
90 def entity_oldnewvalue(entity, attr): |
90 def entity_oldnewvalue(entity, attr): |