mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-11 22:31:55 +00:00
remove redundant indent in bdc5a7a
Co-Authored-By: Adi Shavit <1814800+adishavit@users.noreply.github.com>
This commit is contained in:
@@ -382,10 +382,10 @@ class file:
|
|||||||
for (attr_index, _), attr_name in zip(kwargs_attrs, kwargs):
|
for (attr_index, _), attr_name in zip(kwargs_attrs, kwargs):
|
||||||
if attr_index == 0xFFFFFFFF:
|
if attr_index == 0xFFFFFFFF:
|
||||||
invalid_attrs.append(attr_name)
|
invalid_attrs.append(attr_name)
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
"entity instance of type '%s' doesn't have the following attributes: %s."
|
"entity instance of type '%s' doesn't have the following attributes: %s."
|
||||||
% (e.is_a(True), ", ".join(invalid_attrs))
|
% (e.is_a(True), ", ".join(invalid_attrs))
|
||||||
)
|
)
|
||||||
|
|
||||||
# Restore transaction status
|
# Restore transaction status
|
||||||
if attrs:
|
if attrs:
|
||||||
|
|||||||
Reference in New Issue
Block a user