Commit 84e21419 authored by Georgios Dagkakis's avatar Georgios Dagkakis Committed by Jérome Perrin

bug that could cause BatchReassembly to crash fixed

parent b99b3c06
...@@ -132,6 +132,8 @@ class BatchReassembly(CoreObject): ...@@ -132,6 +132,8 @@ class BatchReassembly(CoreObject):
if(len(activeObject.previous)==1 or callerObject==None): if(len(activeObject.previous)==1 or callerObject==None):
if len(activeObjectQueue)==0: if len(activeObjectQueue)==0:
return activeObject.Up return activeObject.Up
elif len(giverObjectQueue)==0:
return False
else: else:
return activeObject.Up\ return activeObject.Up\
and activeObjectQueue[0].type!='Batch'\ and activeObjectQueue[0].type!='Batch'\
......
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