remove redundant indent in bdc5a7a

Co-Authored-By: Adi Shavit <1814800+adishavit@users.noreply.github.com>
This commit is contained in:
Andrej730
2024-07-30 18:55:54 +05:00
parent 1f68e52ac2
commit e7ef307984
+4 -4
View File
@@ -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: