From 6138620c9a80f85402e015ffab74122b9d050b63 Mon Sep 17 00:00:00 2001 From: vincentcasseau Date: Mon, 17 Jun 2024 18:15:02 +0200 Subject: [PATCH] KCore notifications: any user can receive an update listing the machines on which Cassiopee is installed, their date and their status (OK/FAILED). - set the env. variable as - execute the following command: --- Cassiopee/KCore/installLib.py | 1 + Cassiopee/KCore/test/notifyInstall.py | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cassiopee/KCore/installLib.py b/Cassiopee/KCore/installLib.py index 27ea8ba8f..d40af1239 100644 --- a/Cassiopee/KCore/installLib.py +++ b/Cassiopee/KCore/installLib.py @@ -42,6 +42,7 @@ shutil.copyfile("installPath.py", installPath+"/installPath.py") shutil.copyfile("installBase.py", installPath+"/installBase.py") shutil.copyfile("test/notify.py", installPath+"/notify.py") +shutil.copyfile("test/notifyInstall.py", installPath+"/notifyInstall.py") # Ecrit les infos d'install Dist.writeBuildInfo() diff --git a/Cassiopee/KCore/test/notifyInstall.py b/Cassiopee/KCore/test/notifyInstall.py index 1eba57b3f..da152bee3 100644 --- a/Cassiopee/KCore/test/notifyInstall.py +++ b/Cassiopee/KCore/test/notifyInstall.py @@ -19,8 +19,7 @@ def parseArgs(): if __name__ == '__main__': script_args = parseArgs() recipients = script_args.recipients.split(' ') - if not recipients[0]: - recipients = ['vincent.casseau@onera.fr', 'christophe.benoit@onera.fr'] + if not recipients[0]: recipients = [] # Check install status log_entries = []