alert if we are building an MCX and our instanceId or attributeInstanceId is None
This commit is contained in:
parent
c973bb852d
commit
5ed9946d1b
@ -67,7 +67,12 @@ class MemoryLibraryManager (MochaLibraryManager):
|
|||||||
# next, go through and ensure instances and attributes are defined
|
# next, go through and ensure instances and attributes are defined
|
||||||
for op in self.attribute_ops:
|
for op in self.attribute_ops:
|
||||||
guid_db.add(op.instanceId)
|
guid_db.add(op.instanceId)
|
||||||
|
if op.instanceId is None:
|
||||||
|
print("ERR: op.instanceId is None")
|
||||||
|
|
||||||
guid_db.add(op.attributeInstanceId)
|
guid_db.add(op.attributeInstanceId)
|
||||||
|
if op.attributeInstanceId is None:
|
||||||
|
print("ERR: op.attributeInstanceId is None")
|
||||||
|
|
||||||
if not str(op.value) in strs_db:
|
if not str(op.value) in strs_db:
|
||||||
strs_db.append(str(op.value))
|
strs_db.append(str(op.value))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user