From: CROUZET Nicolas Date: Thu, 26 Aug 2021 14:39:49 +0000 (+0200) Subject: gestion de path multiples dans la configuration projet X-Git-Tag: V9_9_0~26^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2112e8a038646a9e5041e2f63e1ec59514c4428e;p=tools%2Fsat.git gestion de path multiples dans la configuration projet --- diff --git a/commands/config.py b/commands/config.py index e855c57..95a28c0 100644 --- a/commands/config.py +++ b/commands/config.py @@ -407,7 +407,9 @@ class ConfigManager: "LICENCEPATH"]: if PATH not in cfg.PROJECTS.projects[project]: continue - cfg.PATHS[PATH].append(cfg.PROJECTS.projects[project][PATH], "") + pathlist=cfg.PROJECTS.projects[project][PATH].split(":") + for path in pathlist: + cfg.PATHS[PATH].append(path, "") # apply overwrite from command line if needed for rule in self.get_command_line_overrides(options, ["PATHS"]):