fix comments

This commit is contained in:
thomashacker 2022-11-17 12:49:55 +01:00
parent e9959fa913
commit 49fda655c3
3 changed files with 3 additions and 3 deletions

View File

@ -112,7 +112,7 @@ def convert(
if not msg: if not msg:
msg = Printer(no_print=silent) msg = Printer(no_print=silent)
# Add warnings for renamed language code in v4 # Throw error for renamed language codes in v4
if lang in RENAMED_LANGUAGE_CODES: if lang in RENAMED_LANGUAGE_CODES:
msg.fail( msg.fail(
title="Renamed language code", title="Renamed language code",

View File

@ -160,7 +160,7 @@ def init_config(
msg = Printer(no_print=silent) msg = Printer(no_print=silent)
with TEMPLATE_PATH.open("r") as f: with TEMPLATE_PATH.open("r") as f:
template = Template(f.read()) template = Template(f.read())
# Add warnings for renamed language code in v4 # Throw error for renamed language codes in v4
if lang in RENAMED_LANGUAGE_CODES: if lang in RENAMED_LANGUAGE_CODES:
msg.fail( msg.fail(
title="Renamed language code", title="Renamed language code",

View File

@ -33,7 +33,7 @@ def init_vectors_cli(
a model with vectors. a model with vectors.
""" """
util.logger.setLevel(logging.DEBUG if verbose else logging.INFO) util.logger.setLevel(logging.DEBUG if verbose else logging.INFO)
# Add warnings for renamed language code in v4 # Throw error for renamed language codes in v4
if lang in RENAMED_LANGUAGE_CODES: if lang in RENAMED_LANGUAGE_CODES:
msg.fail( msg.fail(
title="Renamed language code", title="Renamed language code",