From: kosta Date: Thu, 9 Feb 2023 14:55:49 +0000 (+0100) Subject: [bos #32522][EDF] SALOME on Demand. Refactored ext_info_dict() to provide components... X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=57e57b4a2d841c1a9bfd4b03e136f08915ddac55;p=modules%2Fkernel.git [bos #32522][EDF] SALOME on Demand. Refactored ext_info_dict() to provide components as a comma separated string instead of list. --- diff --git a/bin/SalomeOnDemandTK/extension_query.py b/bin/SalomeOnDemandTK/extension_query.py index 6e0c49972..957da65fc 100644 --- a/bin/SalomeOnDemandTK/extension_query.py +++ b/bin/SalomeOnDemandTK/extension_query.py @@ -295,9 +295,9 @@ def ext_info_dict(directory): author = salomexd_content[EXTAUTHOR_KEY] logger.debug('author: %s', author) - components = [] + components = '' if EXTCOMPONENT_KEY in salomexd_content: - components = salomexd_content[EXTCOMPONENT_KEY] + components = ', '.join(salomexd_content[EXTCOMPONENT_KEY]) logger.debug('components: %s', components) ext_info[ext_name] = [descr, author, components, size]