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

This commit is contained in:
Athanasius committed 2021-06-07 16:50:28 +01:00
1 parent 3f3e007305
commit 2de39f60ab
1 file changed
+3
+3
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