Exemple #1
0
 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
Exemple #2
0
 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
 def call_hooks(self, *args, **kwargs):
     return util.call_hooks(self.context, *args, **kwargs)
Exemple #5
0
 def call_hooks(self, *args, **kwargs):
     try:
         call_hooks(self, *args, **kwargs)
     except Exception:
         self.cleanup()
         raise
Exemple #6
0
 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