]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
'sat config --edit' print the path to the file
authorSerge Rehbinder <serge.rehbinder@cea.fr>
Tue, 13 Sep 2016 08:41:54 +0000 (10:41 +0200)
committerSerge Rehbinder <serge.rehbinder@cea.fr>
Tue, 13 Sep 2016 08:41:54 +0000 (10:41 +0200)
commands/config.py

index 9c03149760cf7407684491a571b6c41bfc2c79d0..68ce2bb57d893e222b1d1a3d0f327d21723b0e7f 100644 (file)
@@ -788,6 +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)
             src.system.show_in_editor(editor, usercfg, logger)
         else:
             # search for file <application>.pyconf and open it
@@ -795,6 +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)
                     src.system.show_in_editor(editor, pyconf_path, logger)
                     break