--- a/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py Fri Jan 01 16:11:36 2010 +0000 +++ b/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py Sat Jan 02 15:11:35 2010 +0000 @@ -16,7 +16,7 @@ from E4Gui.E4Application import e4App -from Ui_SyntaxCheckerDialog import Ui_SyntaxCheckerDialog +from .Ui_SyntaxCheckerDialog import Ui_SyntaxCheckerDialog import Utilities @@ -74,7 +74,7 @@ @param codestring string containing the code to be checked (string). If this is given, file must be a single file name. """ - if type(fn) is types.ListType: + if isinstance(fn, list): files = fn elif os.path.isdir(fn): files = Utilities.direntries(fn, 1, '*.py', 0)