]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
sat #29553 : integrate patch provided by Emilio on Forum, to correct an error on...
authorcrouzet <nicolas.crouzet@cea.fr>
Fri, 1 Apr 2022 09:23:56 +0000 (11:23 +0200)
committercrouzet <nicolas.crouzet@cea.fr>
Fri, 1 Apr 2022 09:23:56 +0000 (11:23 +0200)
commands/template.py

index c7e1980cc93bbfcf16f0e6ce69840efdd6b1405e..e4ddc59677672ec65b8130cd0f57eff046c6248d 100644 (file)
@@ -123,8 +123,7 @@ class TemplateSettings:
         self.delimiter_char = get_dico_param(ldic, "delimiter", ":sat:")
 
         # get the ignore filter
-        self.ignore_filters = map(lambda l: l.strip(),
-                                  ldic["ignore_filters"].split(','))
+        self.ignore_filters = [l.strip() for l in ldic["ignore_filters"].split(',')]
 
     def has_pyconf(self):
         return len(self.pyconf) > 0