--- a/PluginVulture.py Fri Oct 09 19:00:49 2015 +0200 +++ b/PluginVulture.py Sun Oct 11 19:29:38 2015 +0200 @@ -24,7 +24,7 @@ author = "Detlev Offenbach <detlev@die-offenbachs.de>" autoactivate = True deactivateable = True -version = "0.1.0" +version = "0.2.0" className = "VulturePlugin" packageName = "VultureChecker" shortDescription = "Plug-in to detect unused code using the vulture library" @@ -329,9 +329,9 @@ project = e5App().getObject("Project") project.saveAllScripts() ppath = project.getProjectPath() - files = [os.path.join(ppath, file) - for file in project.pdata["SOURCES"] - if file.endswith( + files = [os.path.join(ppath, file_) + for file_ in project.pdata["SOURCES"] + if file_.endswith( tuple(Preferences.getPython("Python3Extensions")) + tuple(Preferences.getPython("PythonExtensions")))]