1
0
Fork 0

Clean message issues

This commit is contained in:
Félix Piédallu 2024-02-16 00:20:52 +01:00
parent 1f301b6a62
commit 657119f338

View file

@ -566,19 +566,17 @@ def main() -> None:
result_message += f"\n{'=' * 80}\nApps already with an update PR:"
for app, info in apps_already.items():
result_message += f"\n- {app}"
if isinstance(info, tuple):
result_message += f" ({info[0]} -> {info[1]})"
if info[2] is not None:
result_message += f" see {info[2]}"
result_message += f" ({info[0]} -> {info[1]})" if info[1] else " (app version did not change)"
if info[2]:
result_message += f" see {info[2]}"
if apps_updated:
result_message += f"\n{'=' * 80}\nApps updated:"
for app, info in apps_updated.items():
result_message += f"\n- {app}"
if isinstance(info, tuple):
result_message += f" ({info[0]} -> {info[1]})"
if info[2] is not None:
result_message += f" see {info[2]}"
result_message += f" ({info[0]} -> {info[1]})" if info[1] else " (app version did not change)"
if info[2]:
result_message += f" see {info[2]}"
if apps_failed:
result_message += f"\n{'=' * 80}\nApps failed:"