1
0
Fork 0

Fix duplicate code

This commit is contained in:
Félix Piédallu 2024-02-15 23:13:16 +01:00
parent 64e1467143
commit 0953331355

View file

@ -570,15 +570,6 @@ def main() -> None:
if info[2] is not None: if info[2] is not None:
result_message += f" see {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]}"
if apps_failed: if apps_failed:
result_message += f"\n{'=' * 80}\nApps failed:" result_message += f"\n{'=' * 80}\nApps failed:"
for app, logs in apps_failed.items(): for app, logs in apps_failed.items():