From 16fe29ac226610f79c8da1f691437ec7fe6e79c4 Mon Sep 17 00:00:00 2001 From: "k.kedron" Date: Fri, 5 Jun 2020 14:51:01 +0200 Subject: Improvement sdc-BE-init python scripts - Implemented retries when request fail - Moved configuration variables to the Properties file - Extended sdcBeProxy - Implemented script to run import/update (should fix deployment glitch) - Updated the import_Normatives recipes to use new script Issue-ID: SDC-2784 Signed-off-by: Krystian Kedron Change-Id: I83fab898783ad8d3b3d532af43d75bc54d033c33 --- catalog-be/src/main/resources/scripts/sdcBePy/common/logger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'catalog-be/src/main/resources/scripts/sdcBePy/common/logger.py') diff --git a/catalog-be/src/main/resources/scripts/sdcBePy/common/logger.py b/catalog-be/src/main/resources/scripts/sdcBePy/common/logger.py index e2e434fcff..17ef9afafb 100644 --- a/catalog-be/src/main/resources/scripts/sdcBePy/common/logger.py +++ b/catalog-be/src/main/resources/scripts/sdcBePy/common/logger.py @@ -16,7 +16,7 @@ def log(desc, arg): print(desc, arg) -def error_and_exit(error_code, error_desc): +def print_and_exit(error_code, error_desc): if error_code > 0: print("status={0}. {1}".format(error_code, '' if not error_desc else error_desc)) else: -- cgit 1.2.3-korg