From 2112e8a038646a9e5041e2f63e1ec59514c4428e Mon Sep 17 00:00:00 2001 From: CROUZET Nicolas Date: Thu, 26 Aug 2021 16:39:49 +0200 Subject: [PATCH] gestion de path multiples dans la configuration projet --- commands/config.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"]): -- 2.39.2