--- a/VultureChecker/VultureCheckerService.py Sat Dec 31 13:50:28 2016 +0100 +++ b/VultureChecker/VultureCheckerService.py Mon Mar 27 19:51:12 2017 +0200 @@ -102,19 +102,19 @@ taskQueue.put('STOP') -def worker(input, output): +def worker(inputQueue, outputQueue): """ Module function acting as the parallel worker for the cyclomatic complexity calculation. - @param input input queue + @param inputQueue input queue @type multiprocessing.Queue - @param output output queue + @param outputQueue output queue @type multiprocessing.Queue """ - for filename, source in iter(input.get, 'STOP'): + for filename, source in iter(inputQueue.get, 'STOP'): result = __analyze(filename, source) - output.put((filename, result)) + outputQueue.put((filename, result)) def __analyze(filename, text=""):