Skip to content

Commit c0ebce8

Browse files
committed
Remove redundant lines
1 parent 74cb3e0 commit c0ebce8

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/odoo_data_flow/import_threaded.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,13 +1071,6 @@ def _execute_load_batch( # noqa: C901
10711071
failed_line = [*list(line), f"Load failed: {error_msg}"]
10721072
aggregated_failed_lines.append(failed_line)
10731073

1074-
# Create a new dictionary containing only the items with
1075-
# integer values
1076-
filtered_id_map = {
1077-
key: value
1078-
for key, value in id_map.items()
1079-
if isinstance(value, int)
1080-
}
10811074
# Always update the aggregated map with successful records
10821075
# Create a new dictionary containing only the items with integer values
10831076
filtered_id_map = {

0 commit comments

Comments
 (0)