From 3ccf3454be66270d14a5e83cd6aeda93c98a299c Mon Sep 17 00:00:00 2001
From: James Willis <james.s.willis@durham.ac.uk>
Date: Tue, 19 Mar 2019 15:37:29 +0000
Subject: [PATCH] Fix typo.

---
 tools/task_plots/plot_tasks.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/tools/task_plots/plot_tasks.py b/tools/task_plots/plot_tasks.py
index 72d3869d10..56b2144c65 100755
--- a/tools/task_plots/plot_tasks.py
+++ b/tools/task_plots/plot_tasks.py
@@ -442,10 +442,9 @@ for rank in ranks:
             toc = int(data[line, toccol]) / CPU_CLOCK
             tasks[thread][-1]["tic"] = tic
             tasks[thread][-1]["toc"] = toc
-            if (                "fof" in tasktype):
+            if ("fof" in tasktype):
                 tasks[thread][-1]["colour"] = TASKCOLOURS[tasktype]
-
-            else if(
+            elif(
                     "self" in tasktype
                     or "pair" in tasktype
                     or "recv" in tasktype
-- 
GitLab