[Arch] Fix LGTM warnings
This commit is contained in:
committed by
Chris Hennes
parent
8064b6bf01
commit
6391bebeb8
@@ -289,7 +289,6 @@ class IfcRoot:
|
||||
QT_TRANSLATE_NOOP("App::Property", "Description of IFC attributes are not yet implemented"))
|
||||
setattr(obj, attribute["name"], attribute["enum_values"])
|
||||
else:
|
||||
import ArchIFCSchema
|
||||
propertyType = "App::" + ArchIFCSchema.IfcTypes[attribute["type"]]["property"]
|
||||
obj.addProperty(propertyType,
|
||||
attribute["name"],
|
||||
|
||||
Reference in New Issue
Block a user