From a4d03a6da5a66e36847fd71ef6045a691f54dbf0 Mon Sep 17 00:00:00 2001
From: Elliot Oram <Elliot.Oram@stfc.ac.uk>
Date: Fri, 23 Oct 2015 11:31:12 +0100
Subject: [PATCH] Fixed Pylint error for statment number and unused import

Refs #13826
---
 .../plugins/algorithms/WorkflowAlgorithms/QLRun.py           | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/QLRun.py b/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/QLRun.py
index 0390f21ef48..51a7070d2a2 100644
--- a/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/QLRun.py
+++ b/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/QLRun.py
@@ -131,7 +131,7 @@ class QLRun(PythonAlgorithm):
         self._save = self.getProperty('Save').value
         self._plot = self.getPropertyValue('Plot')
 
-    #pylint: disable=too-many-locals
+    #pylint: disable=too-many-locals,too-many-statements
     def PyExec(self):
         #from IndirectImport import run_f2py_compatibility_test, is_supported_f2py_platform
 
@@ -140,8 +140,7 @@ class QLRun(PythonAlgorithm):
         from IndirectBayes import (CalcErange, GetXYE, ReadNormFile,
                                    ReadWidthFile, QLAddSampleLogs, C2Fw,
                                    C2Se, QuasiPlot)
-        from IndirectCommon import (getDefaultWorkingDirectory, CheckXrange,
-                                    CheckAnalysers, getEfixed, GetThetaQ,
+        from IndirectCommon import (CheckXrange, CheckAnalysers, getEfixed, GetThetaQ,
                                     CheckHistZero, CheckHistSame)
 
         self.log().information('QLRun input')
-- 
GitLab