[Arch] Fix LGTM warnings

This commit is contained in:
Chris Hennes
2021-09-26 21:53:40 -05:00
committed by Chris Hennes
parent 8064b6bf01
commit 6391bebeb8
12 changed files with 17 additions and 27 deletions

View File

@@ -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"],