From 3d81145658587172780fd8a21f9190a4dfc4263d Mon Sep 17 00:00:00 2001 From: Serge Rehbinder Date: Mon, 19 Sep 2016 11:29:27 +0200 Subject: [PATCH] minor changes --- commands/compile.py | 2 +- commands/config.py | 4 ++-- data/site.pyconf | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/commands/compile.py b/commands/compile.py index e659414..ab4e674 100644 --- a/commands/compile.py +++ b/commands/compile.py @@ -446,7 +446,7 @@ def compile_product(sat, p_name_info, config, options, logger, header, len_end): error_step = "MAKE INSTALL" # Check that the install directory exists - if not(os.path.exists(p_info.install_dir)): + if res==0 and not(os.path.exists(p_info.install_dir)): res = 1 error_step = "NO INSTALL DIR" msg = _("Error: despite the fact that all the steps ended successfully," diff --git a/commands/config.py b/commands/config.py index 68ce2bb..0f3777c 100644 --- a/commands/config.py +++ b/commands/config.py @@ -788,7 +788,7 @@ def run(args, runner, logger): if 'APPLICATION' not in runner.cfg: # edit user pyconf usercfg = os.path.join(runner.cfg.VARS.personalDir, 'salomeTools.pyconf') - logger.write(_("Openning %s" % usercfg), 3) + logger.write(_("Openning %s\n" % usercfg), 3) src.system.show_in_editor(editor, usercfg, logger) else: # search for file .pyconf and open it @@ -796,7 +796,7 @@ def run(args, runner, logger): pyconf_path = os.path.join(path, runner.cfg.VARS.application + ".pyconf") if os.path.exists(pyconf_path): - logger.write(_("Openning %s" % pyconf_path), 3) + logger.write(_("Openning %s\n" % pyconf_path), 3) src.system.show_in_editor(editor, pyconf_path, logger) break diff --git a/data/site.pyconf b/data/site.pyconf index d721713..078612c 100644 --- a/data/site.pyconf +++ b/data/site.pyconf @@ -13,5 +13,5 @@ SITE : PROJECTS : { -project_file_paths : ["/home/salome/SPN_PRIVATE/SAT5/SALOME-PROJECT/salome.pyconf"] +project_file_paths : ["/home/salome/SPN_PRIVATE/SAT5/SALOME-PROJECT/salome.pyconf", "/data/tmpsalome/salome/SAT-PROJECTS/NUMODIS/numodis.pyconf"] } -- 2.39.2