We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 501ada5 + f5e2512 commit b8767aeCopy full SHA for b8767ae
src/osa/scripts/closer.py
@@ -193,7 +193,7 @@ def post_process(seq_tuple):
193
# before creating the NightFinished.txt file
194
n_max = 6
195
n = 0
196
- while not all_closer_jobs_finished_correctly() & n <= n_max:
+ while not all_closer_jobs_finished_correctly() and n <= n_max:
197
log.info(
198
"All jobs launched by autocloser did not finished correctly yet. "
199
"Checking again in 10 minutes..."
@@ -202,7 +202,7 @@ def post_process(seq_tuple):
202
n += 1
203
204
if n > n_max:
205
- send_warning_mail(date=options.date)
+ send_warning_mail(date=date_to_iso(options.date))
206
return False
207
208
if options.seqtoclose is None:
0 commit comments