Temporarily revert to old build behaviour since new builds are failing.

This commit is contained in:
Dion Moult
2025-09-29 11:00:59 +10:00
parent bfa981709a
commit ceac85ca02
+4 -1
View File
@@ -1036,7 +1036,10 @@ class file:
@property
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))
return h