Commit 09171079 authored by Jérome Perrin's avatar Jérome Perrin

Order: Mould does not have componentType ... not sure of this.

parent 54ce2762
...@@ -106,7 +106,7 @@ class Order(Job): ...@@ -106,7 +106,7 @@ class Order(Job):
#=========================================================================== #===========================================================================
def findAssemblyComponents(self): def findAssemblyComponents(self):
for child in self.getActiveComponents(): for child in self.getActiveComponents():
if child.componentType in self.assemblyValidTypes: if getattr(child, 'componentType', None) in self.assemblyValidTypes:
if not child in self.assemblyComponents: if not child in self.assemblyComponents:
self.assemblyComponents.append(child) self.assemblyComponents.append(child)
......
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