Пример #1
0
 def __init__(self, action, execution):
     EventHandler.__init__(self)
     self.action = action
     self.execution = execution
     self.execution.running = self.execution.running + 1
     self.execution.best_fanout = max(self.execution.best_fanout,
                                      self.execution.running)
Пример #2
0
 def __init__(self, execution):
     EventHandler.__init__(self)
     self.execution = execution