From b437cfbf18d0fab08a35c73326f548b7231a1293 Mon Sep 17 00:00:00 2001
From: Elliot Oram <Elliot.Oram@stfc.ac.uk>
Date: Thu, 22 Oct 2015 15:13:51 +0100
Subject: [PATCH] Fixed Pylint violations

Refs #13286
---
 .../algorithms/WorkflowAlgorithms/QLRun.py    | 19 ++++++-------------
 1 file changed, 6 insertions(+), 13 deletions(-)

diff --git a/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/QLRun.py b/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/QLRun.py
index 7da1d0e8651..7f16e62236b 100644
--- a/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/QLRun.py
+++ b/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/QLRun.py
@@ -1,13 +1,5 @@
 #pylint: disable=no-init
 from IndirectImport import *
-if is_supported_f2py_platform():
-    QLr     = import_f2py("QLres")
-    QLd     = import_f2py("QLdata")
-    Qse     = import_f2py("QLse")
-    Que     = import_f2py("Quest")
-    resnorm = import_f2py("ResNorm")
-else:
-    logger.error('F2Py functionality not currently available on your platform.')
 
 from mantid.api import PythonAlgorithm, AlgorithmFactory, MatrixWorkspaceProperty, PropertyMode, WorkspaceGroupProperty
 from mantid.kernel import StringListValidator, Direction
@@ -138,13 +130,14 @@ class QLRun(PythonAlgorithm):
     def PyExec(self):
         #from IndirectImport import run_f2py_compatibility_test, is_supported_f2py_platform
 
-        if is_supported_f2py_platform():
-            import IndirectBayes as Main
-
         run_f2py_compatibility_test()
 
-        from IndirectBayes import CalcErange, GetXYE, ReadNormFile, ReadWidthFile, QLAddSampleLogs, C2Fw, C2Se, QuasiPlot
-        from IndirectCommon import getDefaultWorkingDirectory, CheckXrange, CheckAnalysers, getEfixed, GetThetaQ, CheckHistZero, CheckHistSame
+        from IndirectBayes import (CalcErange, GetXYE, ReadNormFile, \
+                                   ReadWidthFile, QLAddSampleLogs, C2Fw, \
+                                   C2Se, QuasiPlot)
+        from IndirectCommon import (getDefaultWorkingDirectory, CheckXrange,\
+                                    CheckAnalysers, getEfixed, GetThetaQ,\
+                                    CheckHistZero, CheckHistSame)
 
         self.log().information('QLRun input')
 
-- 
GitLab