From b08a4f931d38a9c8f7716fc95875a1457ed95abd Mon Sep 17 00:00:00 2001 From: Pcosson Date: Fri, 5 Jul 2024 12:07:17 +0200 Subject: [PATCH] swap to email by default --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 98bf42b..af022de 100644 --- a/setup.py +++ b/setup.py @@ -121,14 +121,15 @@ def audit(): if not list_app_to_update: message="your repository seems up to date" print(message) - send_to_rocket(message) + #send_to_rocket(message) return "OK" else: message=f"You need to update some packages :\n" for app in list_app_to_update: message += f"**{app['package']}** : {app['new_version']} from : {app['old_version']}\n" print(message) - send_to_rocket(message) + #send_to_rocket(message) + send_email("Some application need to be updated on your wapt server",message) return "WARNING"