Commit 3f41583f authored by Georgios Dagkakis's avatar Georgios Dagkakis Committed by Jérome Perrin

correction in Machine

parent f3402e4a
......@@ -880,9 +880,7 @@ class Machine(CoreObject):
# XXX add the SkilledOperatorRouter to this list and perform the signalling only once
for interruption in (G.ObjectInterruptionList):
# if the objectInterruption is waiting for a a signal
if interruption.victim==self and interruption.waitingSignal:
# signal it and reset the flags
if interruption.expectedSignals['endedLastProcessing']:
if interruption.victim==self and interruption.expectedSignals['endedLastProcessing']:
self.sendSignal(receiver=self, signal=self.endedLastProcessing)
interruption.waitingSignal=False
self.isWorkingOnTheLast=False
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment