Fix one more EX_DATAERR after sync with 3.11.1

This commit is contained in:
Alex Voinea 2022-07-04 17:48:11 +02:00
parent e68ded37fe
commit e435ef4bab

View File

@ -326,7 +326,7 @@ def main():
for translation in polib.pofile(args.po):
status &= check_translation(translation, msgids, args.pot, args.no_warning, args.no_suggest,
args.warn_empty, args.warn_same, args.information)
return 0 if status else os.EX_DATAERR
return 0 if status else 1
if __name__ == "__main__":
exit(main())