Commit 52ad3eb4 authored by Jérome Perrin's avatar Jérome Perrin

Remove a duplicate line out of the condition

parent b04096b6
...@@ -248,7 +248,6 @@ class Queue(CoreObject): ...@@ -248,7 +248,6 @@ class Queue(CoreObject):
elif criterion=="LPT": elif criterion=="LPT":
for entity in activeObjectQ: for entity in activeObjectQ:
processingTime = entity.remainingRoute[0].get('processingTime',None) processingTime = entity.remainingRoute[0].get('processingTime',None)
entity.processingTimeInNextStation=float(processingTime.get('mean',0))
if processingTime: if processingTime:
entity.processingTimeInNextStation=float(processingTime.get('mean',0)) entity.processingTimeInNextStation=float(processingTime.get('mean',0))
else: else:
......
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