]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
sat jobs: remove empty lines from the boards.
authorSRE <serge.rehbinder@cea.fr>
Thu, 11 May 2017 13:21:25 +0000 (15:21 +0200)
committerSRE <serge.rehbinder@cea.fr>
Thu, 11 May 2017 13:21:25 +0000 (15:21 +0200)
commands/jobs.py

index 7a51ebaab1acc2c3b1ce4437bc27214d564d80a1..986a03f8253d1fc4fe56a6a51ec48241bddd7d59 100644 (file)
@@ -1190,7 +1190,8 @@ class Gui(object):
                 continue
             for board in self.d_xml_board_files:
                 if board_job == board:
-                    if distrib is not None and distrib not in d_dist[board]:
+                    if (distrib not in [None, ''] and 
+                                            distrib not in d_dist[board]):
                         d_dist[board].append(distrib)
                         src.xmlManager.add_simple_node(
                             self.d_xml_board_files[board].xmlroot.find(