plugger.py
changeset 476 92f449479084
parent 475 44fea837f813
child 480 746b2e02f6fb
equal deleted inserted replaced
475:44fea837f813 476:92f449479084
  1711             for weakcallable,(args,kwargs) in WeakCallableDict.iteritems():
  1711             for weakcallable,(args,kwargs) in WeakCallableDict.iteritems():
  1712                 #print weakcallable, value, args, kwargs
  1712                 #print weakcallable, value, args, kwargs
  1713                 function = getattr(weakcallable, function_name, None)
  1713                 function = getattr(weakcallable, function_name, None)
  1714                 if function is not None:
  1714                 if function is not None:
  1715                     if status == "Forced":
  1715                     if status == "Forced":
  1716                         function(*(cargs + [True] + args), **kwargs)
  1716                         function(*(cargs + (True,) + args), **kwargs)
  1717                     else:
  1717                     else:
  1718                         function(*(cargs + args), **kwargs)
  1718                         function(*(cargs + args), **kwargs)
  1719                 # This will block thread if more than one call is waiting
  1719                 # This will block thread if more than one call is waiting
  1720 
  1720 
  1721     def DebugThreadProc(self):
  1721     def DebugThreadProc(self):