]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
sat jobs: put all the lines of input file in the resulting board
authorSerge Rehbinder <serge.rehbinder@cea.fr>
Tue, 18 Oct 2016 14:27:04 +0000 (16:27 +0200)
committerSerge Rehbinder <serge.rehbinder@cea.fr>
Tue, 18 Oct 2016 14:27:04 +0000 (16:27 +0200)
commands/jobs.py

index 2b29f3aa11c5a5cb2702ce8fbbde21cfa3c6deb6..601a049f98f67b7535d82f2ffa9a1eb3cda1a19c 100644 (file)
@@ -1331,14 +1331,13 @@ class Gui(object):
             jobs = []
             for line in input_board[1:]:
                 row = line[0]
+                rows.append(row)
                 for i, square in enumerate(line[1:]):
                     if square=='':
                         continue
                     days = square.split(DAYS_SEPARATOR)
                     days = [int(day) for day in days]
-                    if today in days:
-                        if row not in rows:
-                            rows.append(row)
+                    if today in days:                           
                         job = (row, columns[i])
                         jobs.append(job)