--- a/eric6/Plugins/CheckerPlugins/SyntaxChecker/jsCheckSyntax.py Thu Nov 14 19:39:07 2019 +0100 +++ b/eric6/Plugins/CheckerPlugins/SyntaxChecker/jsCheckSyntax.py Tue Nov 19 18:53:58 2019 +0100 @@ -2,19 +2,12 @@ # Copyright (c) 2014 - 2019 Detlev Offenbach <detlev@die-offenbachs.de> # -# pylint: disable=C0103 """ -Module implementing the syntax check for Python 2/3. +Module implementing the syntax check for JavaScript. """ -from __future__ import unicode_literals - -try: # Only for Py2 - import Queue as queue -except ImportError: - import queue - +import queue import os import sys import multiprocessing @@ -144,7 +137,7 @@ def worker(inputQueue, outputQueue): """ - Module function acting as the parallel worker for the style check. + Module function acting as the parallel worker for the syntax check. @param inputQueue input queue (multiprocessing.Queue) @param outputQueue output queue (multiprocessing.Queue)