Exemple #1
0
 def __call__(self, obj, *args):
     loggers.signalLogger(obj, self.signal, *args)
     if self.callback:
         self.result = self.callback(obj, *args)
     else:
         self.result = False
     return self.result
Exemple #2
0
    def __call__(self, obj, *args):
        loggers.signalLogger(obj, self.signal, *args)
        if self.callback:
	  self.result = self.callback(obj, *args)
        else:
	  self.result = False
        return self.result
Exemple #3
0
 def __call__(self, obj, *args):
     loggers.signalLogger(obj, self.signal, *args)
     if self.callback:
         return self.callback(obj, *args)
     return False
Exemple #4
0
 def __call__(self, obj, *args):
     loggers.signalLogger(obj, self.signal, *args)
     if self.callback:
         return self.callback(obj, *args)
     return False