From 09533313551e630bcd12b173380779563b2242db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Thu, 15 Feb 2024 23:13:16 +0100 Subject: [PATCH] Fix duplicate code --- autoupdate_app_sources/autoupdate_app_sources.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/autoupdate_app_sources/autoupdate_app_sources.py b/autoupdate_app_sources/autoupdate_app_sources.py index 1dc4e43..2cf0612 100755 --- a/autoupdate_app_sources/autoupdate_app_sources.py +++ b/autoupdate_app_sources/autoupdate_app_sources.py @@ -570,15 +570,6 @@ def main() -> None: if info[2] is not None: 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: result_message += f"\n{'=' * 80}\nApps failed:" for app, logs in apps_failed.items():