From 3e7afbed08026f080324d042925951b12c787019 Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Fri, 7 Jul 2023 18:12:52 +1000 Subject: [PATCH] Minor doc improvements and SQL/stream code cleanup --- src/ifcopenshell-python/ifcopenshell/sql.py | 4 +--- src/ifcopenshell-python/ifcopenshell/stream.py | 5 +---- src/ifcpatch/ifcpatch/recipes/OffsetObjectPlacements.py | 6 +++--- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/src/ifcopenshell-python/ifcopenshell/sql.py b/src/ifcopenshell-python/ifcopenshell/sql.py index df1ad206fe..d258ca0378 100644 --- a/src/ifcopenshell-python/ifcopenshell/sql.py +++ b/src/ifcopenshell-python/ifcopenshell/sql.py @@ -62,9 +62,7 @@ class sqlite(file): self.ifc_class_references = {} self.ifc_class_inverses = {} - for declaration in self.ifc_schema.declarations(): - if not str(declaration).startswith("