diff -r 021e2db1f444 -r 66b11f5171e8 Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py --- a/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py Fri Apr 07 18:42:03 2017 +0200 +++ b/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py Sat Apr 08 19:23:04 2017 +0200 @@ -7,9 +7,13 @@ Module implementing the code style checker. """ +try: # Only for Py2 + import Queue as queue +except ImportError: + import queue + import sys import multiprocessing -import queue import pycodestyle from NamingStyleChecker import NamingStyleChecker