INNER CODE UNIT · Python
text
rfc-st/humble · humble.py:521
text=True) as process: # false-positive
for ln in iter(process.stdout.readline, ""):
print(ln, end="")
if "Done" in ln:
process.terminate()
break
except (OSError, ValueError):
print_error_detail("[testssl_error]")
def get_l10n_content():
"""Load the localization file for the specified language."""
l10n_path = (OS_PATH / HUMBLE_DIRS[1] /
(HUMBLE_FILES[4] if args.lang == "es" else HUMBLE_FILES[5]))
with l10n_path.open(encoding="utf8") as l10n_content:
return l10n_content.readlines()