Skip to content

Commit 5fd4849

Browse files
Rossi-Lucianoclaude
andcommitted
Corrige IndentationError no bloco do abstract em xml.py
Remoção de guarda duplicada `if vals2 and vals2[0]:` que ficou sem corpo após resolução de conflito de rebase, causando IndentationError. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 4ca261d commit 5fd4849

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

markup_doc/xml.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,8 +477,6 @@ def get_xml(article_docx, data_front, data, data_back, xref_map=None):
477477
append_fragment(node_tmp2, vals[0].value.get("paragraph"))
478478

479479
if vals2 and vals2[0]:
480-
481-
if vals2:
482480
# Encuentra su índice original en article_docx.content
483481
last_index = data_t.index(vals2[0])
484482

0 commit comments

Comments
 (0)