Plugins/CheckerPlugins/SyntaxChecker/jsCheckSyntax.py

changeset 5588
6ba512d9f46a
parent 5389
9b1c800daff3
child 5672
495b53f37f6c
--- a/Plugins/CheckerPlugins/SyntaxChecker/jsCheckSyntax.py	Tue Mar 07 18:53:18 2017 +0100
+++ b/Plugins/CheckerPlugins/SyntaxChecker/jsCheckSyntax.py	Tue Mar 07 19:46:57 2017 +0100
@@ -121,17 +121,17 @@
         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 = args[0]
         result = __jsSyntaxCheck(filename, source)
-        output.put((filename, result))
+        outputQueue.put((filename, result))
 
 
 def __jsSyntaxCheck(file, codestring):

eric ide

mercurial