From 3941cd72dd425be22ab1e017d17c819e058ea75c Mon Sep 17 00:00:00 2001
From: "Peter W. Draper" <p.w.draper@durham.ac.uk>
Date: Tue, 22 Oct 2019 12:40:17 +0100
Subject: [PATCH] It is sys.exit() not os.exit()!

---
 tools/task_plots/iplot_tasks.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/task_plots/iplot_tasks.py b/tools/task_plots/iplot_tasks.py
index c6f44dcf9d..dcac3ffe31 100755
--- a/tools/task_plots/iplot_tasks.py
+++ b/tools/task_plots/iplot_tasks.py
@@ -402,7 +402,7 @@ data = data[1:, :]
 # Exit if no data.
 if data.size == 0:
     print(("# Rank ", rank, " has no tasks"))
-    os.exit(1)
+    sys.exit(1)
 
 start_t = float(tic_step)
 data[:, ticcol] -= start_t
-- 
GitLab