Ejemplo n.º 1
0
 def identify(self, instance):
     if (IRecorder.providedBy(instance) and
         instance.journal_id in self.registry):
         return instance.journal_id
Ejemplo n.º 2
0
Archivo: journal.py Proyecto: f3at/feat
 def wrapper(self, *args, **kwargs):
     recorder = IRecorder(self)
     return recorder.call(function, args, kwargs, reentrant=reentrant)