Example #1
0
 def identify(self, instance):
     if (IRecorder.providedBy(instance) and
         instance.journal_id in self.registry):
         return instance.journal_id
Example #2
0
File: journal.py Project: f3at/feat
 def wrapper(self, *args, **kwargs):
     recorder = IRecorder(self)
     return recorder.call(function, args, kwargs, reentrant=reentrant)