PluginVulture.py

changeset 42
1fd6f13504d1
parent 40
6b6361ec584d
child 44
9be43ed02aaa
diff -r 5e5f9cf00b75 -r 1fd6f13504d1 PluginVulture.py
--- a/PluginVulture.py	Sat Jul 09 13:18:07 2016 +0200
+++ b/PluginVulture.py	Sat Nov 26 14:56:40 2016 +0100
@@ -24,7 +24,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "1.0.1"
+version = "1.0.2"
 className = "VulturePlugin"
 packageName = "VultureChecker"
 shortDescription = "Plug-in to detect unused code using the vulture library"
@@ -332,7 +332,7 @@
         project.saveAllScripts()
         ppath = project.getProjectPath()
         files = [os.path.join(ppath, file_)
-                 for file_ in project.pdata["SOURCES"]
+                 for file_ in project.getSources()
                  if file_.endswith(
                      tuple(Preferences.getPython("Python3Extensions")) +
                      tuple(Preferences.getPython("PythonExtensions")))]

eric ide

mercurial