]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
[bos #32522][EDF] SALOME on Demand. Refactored ext_info_dict() to provide components...
authorkosta <kleontev@Debian11.kleontev.virtualbox.org>
Thu, 9 Feb 2023 14:55:49 +0000 (15:55 +0100)
committerKonstantin LEONTEV <konstantin.leontev@opencascade.com>
Wed, 8 Mar 2023 12:46:28 +0000 (13:46 +0100)
bin/SalomeOnDemandTK/extension_query.py

index 6e0c4997254ef7fd3d30fdb2d645ee67a8cc1f7d..957da65fc074e5a5d11f335427fda89a79e055e0 100644 (file)
@@ -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]