Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheck.py

changeset 5588
6ba512d9f46a
parent 5586
0e5421d679e7
child 5616
adcffadf4962
--- a/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheck.py	Tue Mar 07 18:53:18 2017 +0100
+++ b/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheck.py	Tue Mar 07 19:46:57 2017 +0100
@@ -160,18 +160,18 @@
         taskQueue.put('STOP')
 
 
-def worker(input, output):
+def worker(inputQueue, outputQueue):
     """
     Module function acting as the parallel worker for the style check.
     
-    @param input input queue (multiprocessing.Queue)
-    @param output output queue (multiprocessing.Queue)
+    @param inputQueue input queue (multiprocessing.Queue)
+    @param outputQueue output queue (multiprocessing.Queue)
     """
-    for filename, args in iter(input.get, 'STOP'):
+    for filename, args in iter(inputQueue.get, 'STOP'):
         source, checkFlakes, ignoreStarImportWarnings = args
         result = __syntaxAndPyflakesCheck(filename, source, checkFlakes,
                                           ignoreStarImportWarnings)
-        output.put((filename, result))
+        outputQueue.put((filename, result))
 
 
 def __syntaxAndPyflakesCheck(filename, codestring, checkFlakes=True,

eric ide

mercurial