From 6efdf149996dcc627073921cc2e70337ba3533a7 Mon Sep 17 00:00:00 2001 From: Serge Rehbinder Date: Tue, 13 Sep 2016 10:41:54 +0200 Subject: [PATCH] 'sat config --edit' print the path to the file --- commands/config.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.2