From 151038255810ed972187ee5d7921e3f044557665 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Thu, 28 May 2020 15:18:47 +0200 Subject: [PATCH] utils/fetch_languages.py: print more meaningfull messages Signed-off-by: Markus Heiser --- utils/fetch_languages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/fetch_languages.py b/utils/fetch_languages.py index ddebb4111..77ec0bf20 100644 --- a/utils/fetch_languages.py +++ b/utils/fetch_languages.py @@ -28,10 +28,10 @@ def fetch_supported_languages(): names.sort() for engine_name in names: - print("fetching languages of engine %s" % engine_name) - if hasattr(engines[engine_name], 'fetch_supported_languages'): engines_languages[engine_name] = engines[engine_name].fetch_supported_languages() + print("fetched %s languages from engine %s" % ( + len(engines_languages[engine_name]), engine_name)) if type(engines_languages[engine_name]) == list: engines_languages[engine_name] = sorted(engines_languages[engine_name])