From 42e3f1343595d5efca40a10a8692a7c5525decdf Mon Sep 17 00:00:00 2001
From: Alex Buts <Alex.Buts@stfc.ac.uk>
Date: Wed, 18 Apr 2018 18:03:17 +0100
Subject: [PATCH] Re #22307 More Flake warnings

---
 scripts/Inelastic/Direct/ISISDirecInelasticConfig.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/scripts/Inelastic/Direct/ISISDirecInelasticConfig.py b/scripts/Inelastic/Direct/ISISDirecInelasticConfig.py
index 11a1b7c7de2..a53c05ed438 100644
--- a/scripts/Inelastic/Direct/ISISDirecInelasticConfig.py
+++ b/scripts/Inelastic/Direct/ISISDirecInelasticConfig.py
@@ -261,11 +261,11 @@ class UserProperties(object):
             cycle = convert_cycle_int(cycle)
         if isinstance(cycle, str):
             if len(cycle) == 11:
-                last_letter = cycle[-1];
+                last_letter = cycle[-1]
                 if not last_letter.upper() in {'A','B','C','D','E'}:
-                    raise  RuntimeError("Cycle should be a string in the form CYCLEYYYYN[A,B,C,D]"
-                                       "N-- the cycle's number in a year or integer in the form: YYYYN or YYN "
-                                       "but it is {0}".format(cycle))
+                    raise  RuntimeError("Cycle should be a string in the form CYCLEYYYYN[A,B,C,D "
+                                        "N-- the cycle's number in a year or integer in the form: YYYYN or YYN "
+                                        "but it is {0}".format(cycle))
                 else:
                     cycle = cycle.upper()
             elif len(cycle) < 10:
-- 
GitLab