Commit 1037897a authored by Alexander Schrode's avatar Alexander Schrode Committed by oroulet

AddresSpace fix DataTypes IsAbstract

Default value should be False
parent 425c0fda
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -337,8 +337,7 @@ class CodeGenerator: ...@@ -337,8 +337,7 @@ class CodeGenerator:
if obj.desc: if obj.desc:
self.writecode(indent, u' Description=LocalizedText("{0}"),'.format(obj.desc)) self.writecode(indent, u' Description=LocalizedText("{0}"),'.format(obj.desc))
self.writecode(indent, ' DisplayName=LocalizedText("{0}"),'.format(obj.displayname)) self.writecode(indent, ' DisplayName=LocalizedText("{0}"),'.format(obj.displayname))
if obj.abstract: self.writecode(indent, f' IsAbstract={obj.abstract},')
self.writecode(indent, f' IsAbstract={obj.abstract},')
self.writecode(indent, ' )') self.writecode(indent, ' )')
self.make_node_code(obj, indent) self.make_node_code(obj, indent)
self.make_refs_code(obj, indent) self.make_refs_code(obj, indent)
......
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