mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-06 12:26:26 +00:00
Temporarily revert to old build behaviour since new builds are failing.
This commit is contained in:
@@ -1036,7 +1036,10 @@ class file:
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def header(self):
|
def header(self):
|
||||||
h = self.wrapped_data.header()
|
try: # Temporary workaround until new builds are ready. See #7131.
|
||||||
|
h = self.wrapped_data.header()
|
||||||
|
except:
|
||||||
|
return self.wrapped_data.header
|
||||||
object.__setattr__(h, "file_ref", lambda inst: entity_instance.wrap_value(inst, file=self))
|
object.__setattr__(h, "file_ref", lambda inst: entity_instance.wrap_value(inst, file=self))
|
||||||
return h
|
return h
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user