mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 06:58:56 +00:00
black .
This commit is contained in:
@@ -218,11 +218,7 @@ class entity_instance_mixin:
|
|||||||
if self.is_a(True) != other.is_a(True):
|
if self.is_a(True) != other.is_a(True):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
if (
|
if settings.compare_instances_by_value or self.file_pointer() != other.file_pointer() or not self.is_entity():
|
||||||
settings.compare_instances_by_value
|
|
||||||
or self.file_pointer() != other.file_pointer()
|
|
||||||
or not self.is_entity()
|
|
||||||
):
|
|
||||||
return self.get_info(recursive=True, include_identifier=False) == other.get_info(
|
return self.get_info(recursive=True, include_identifier=False) == other.get_info(
|
||||||
recursive=True, include_identifier=False
|
recursive=True, include_identifier=False
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user