[REV] tools: partially revert 0ec6acc458

No justification, commit message not linked to the diff.
If there is an issue in the line_number extraction it must be
investigated.
I suspect an outdated polib version.

closes odoo/odoo#40684

X-original-commit: 0f92dae8eb76a47326bd2bb8924df8fa09645145
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
This commit is contained in:
Martin Trigaux
2019-11-22 10:26:19 +00:00
committed by fw-bot
parent f02bfd3daa
commit c854bca219
+1 -1
View File
@@ -631,7 +631,7 @@ class PoFileReader:
'src': source,
'value': translation,
'comments': comments,
'res_id': int(line_number or 0),
'res_id': int(line_number),
'module': module,
}
continue