Skip to content

Commit da1e02e

Browse files
authored
Merge pull request #429 from AdaWorldAPI/claude/fix-gobd-syntax-stringliteral
fix(gobd_company): replace literal newline in string with \n escape
2 parents 6797e54 + 0b6447e commit da1e02e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • tools/odoo-blueprint-extractor/odoo_blueprint_extractor/data_extractors

tools/odoo-blueprint-extractor/odoo_blueprint_extractor/data_extractors/gobd_company.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ def _find_compute_method(source: str, method_name: str) -> Optional[Dict]:
4848
# Extract source lines for body inspection
4949
lines = source.splitlines()
5050
body_lines = lines[node.lineno - 1:end]
51-
body_source = "
52-
".join(body_lines)
51+
body_source = "\n".join(body_lines)
5352
return {
5453
"name": method_name,
5554
"lineno": node.lineno,

0 commit comments

Comments
 (0)