1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-19 02:17:38 +03:00

l10n script: Complain if there's no current/prev LANG comment

This commit is contained in:
Athanasius 2021-06-07 16:50:28 +01:00
parent 3f3e007305
commit 2de39f60ab

View File

@ -93,6 +93,9 @@ def extract_comments(call: ast.Call, lines: list[str], file: pathlib.Path) -> Op
if bad_comment is not None:
print(bad_comment, file=sys.stderr)
if out is None:
print(f'No comment for {file}:{current} {line}')
return out