From: crouzet Date: Fri, 1 Apr 2022 09:23:56 +0000 (+0200) Subject: sat #29553 : integrate patch provided by Emilio on Forum, to correct an error on... X-Git-Tag: V9_9_0~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d97d3292c7464a79c184fc6d0c4edd87fff36feb;p=tools%2Fsat.git sat #29553 : integrate patch provided by Emilio on Forum, to correct an error on sat template with python 3 --- diff --git a/commands/template.py b/commands/template.py index c7e1980..e4ddc59 100644 --- a/commands/template.py +++ b/commands/template.py @@ -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