From: Serge Rehbinder Date: Tue, 18 Oct 2016 14:27:04 +0000 (+0200) Subject: sat jobs: put all the lines of input file in the resulting board X-Git-Tag: 5.0.0a1~72 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9e8d61df89449a009daa16dc7912e1edeb497cc3;p=tools%2Fsat.git sat jobs: put all the lines of input file in the resulting board --- diff --git a/commands/jobs.py b/commands/jobs.py index 2b29f3a..601a049 100644 --- a/commands/jobs.py +++ b/commands/jobs.py @@ -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)