From: Serge Rehbinder Date: Tue, 13 Sep 2016 08:41:54 +0000 (+0200) Subject: 'sat config --edit' print the path to the file X-Git-Tag: 5.0.0a1~141 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6efdf149996dcc627073921cc2e70337ba3533a7;p=tools%2Fsat.git 'sat config --edit' print the path to the file --- diff --git a/commands/config.py b/commands/config.py index 9c03149..68ce2bb 100644 --- a/commands/config.py +++ b/commands/config.py @@ -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 .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