From 3613f33a8fa150d6b473c0ab5d1b767f5ed74df2 Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <schaller@strw.leidenuniv.nl> Date: Wed, 1 Jul 2020 16:07:22 +0200 Subject: [PATCH] Don't let Matthieu do python stuff unsupervised. --- tools/task_plots/plot_tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/task_plots/plot_tasks.py b/tools/task_plots/plot_tasks.py index 6458b238bf..a0d58e3513 100755 --- a/tools/task_plots/plot_tasks.py +++ b/tools/task_plots/plot_tasks.py @@ -412,7 +412,7 @@ sdata = sdata[sdata[:, toccol] != 0] if delta_t < 0.: print("The time-range must be >=0!") - return 1 + sys.exit(1) # Each rank can have different clocks (compute node), but we want to use the # same delta times range for comparisons, so we suck it up and take the hit of # precalculating this, unless the user knows better. -- GitLab