From: SRE Date: Thu, 11 May 2017 13:21:25 +0000 (+0200) Subject: sat jobs: remove empty lines from the boards. X-Git-Tag: V8_3_0rc1~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c25239b35eecb43c97a105d1bc69c2abfbbc397b;p=tools%2Fsat.git sat jobs: remove empty lines from the boards. --- diff --git a/commands/jobs.py b/commands/jobs.py index 7a51eba..986a03f 100644 --- a/commands/jobs.py +++ b/commands/jobs.py @@ -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(