def call_hooks(self, name, *args, **kwargs): try: call_hooks(self, name, *args, skipped_hock=name in self.skipped_hooks, **kwargs) except Exception: self.cleanup() raise
def call_hooks(self, *args, **kwargs): return util.call_hooks(self.context, *args, **kwargs)
def call_hooks(self, *args, **kwargs): try: call_hooks(self, *args, **kwargs) except Exception: self.cleanup() raise