A tiny improvement in logging

This commit is contained in:
Mikhail f. Shiryaev 2022-06-28 10:27:25 +02:00
parent fb12267338
commit 94f932add1
No known key found for this signature in database
GPG Key ID: 4B02ED204C7D93F4

View File

@ -151,6 +151,8 @@ def main():
needs_data = json.load(file_handler)
required_builds = len(needs_data)
logging.info("The next builds are required: %s", ", ".join(needs_data))
gh = Github(get_best_robot_token())
pr_info = PRInfo()
rerun_helper = RerunHelper(gh, pr_info, build_check_name)
@ -159,7 +161,6 @@ def main():
sys.exit(0)
builds_for_check = CI_CONFIG["builds_report_config"][build_check_name]
logging.info("My reports list %s", builds_for_check)
required_builds = required_builds or len(builds_for_check)
# Collect reports from json artifacts