diff -r ecfe8271cc73 -r 927186c0d409 Plugins/PluginCodeStyleChecker.py --- a/Plugins/PluginCodeStyleChecker.py Sat Mar 22 18:51:14 2014 +0100 +++ b/Plugins/PluginCodeStyleChecker.py Thu Mar 27 21:27:08 2014 +0100 @@ -337,8 +337,7 @@ if menuName == "Checks": if not self.__editorAct in menu.actions(): menu.addAction(self.__editorAct) - self.__editorAct.setEnabled( - editor.isPy3File() or editor.isPy2File()) + self.__editorAct.setEnabled(editor.getPyVersion()) def __editorCodeStyleCheck(self): """