]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
Changing ~/.salomeTools/salomeTools.pyconf to ~/.salomeTools/SAT.pyconf
authorSRE <serge.rehbinder@cea.fr>
Fri, 5 May 2017 09:43:24 +0000 (11:43 +0200)
committerSRE <serge.rehbinder@cea.fr>
Fri, 5 May 2017 09:43:24 +0000 (11:43 +0200)
to avoid collision with salomeTools-4. See
https://codev-tuleap.cea.fr/plugins/tracker/?aid=8586

commands/config.py

index f36a628b1ab9f858a0aab014866c44591b636acc..deef6618120d2cd31c738efbc0415ad012bdf511 100644 (file)
@@ -459,7 +459,7 @@ class ConfigManager:
                                                  (containing all pyconf).
         '''
         # get the expected name and path of the file
-        self.config_file_name = 'salomeTools.pyconf'
+        self.config_file_name = 'SAT.pyconf'
         self.user_config_file_path = os.path.join(config.VARS.personalDir,
                                                    self.config_file_name)
         
@@ -855,7 +855,7 @@ def run(args, runner, logger):
         if ('APPLICATION' not in runner.cfg and
                        'open_application' not in runner.cfg): # edit user pyconf
             usercfg = os.path.join(runner.cfg.VARS.personalDir, 
-                                   'salomeTools.pyconf')
+                                   'SAT.pyconf')
             logger.write(_("Openning %s\n" % usercfg), 3)
             src.system.show_in_editor(editor, usercfg, logger)
         else: