Eliminated direct access to the pdata structure of the Project class. release-1.0.2

Sat, 26 Nov 2016 14:56:40 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 26 Nov 2016 14:56:40 +0100
changeset 42
1fd6f13504d1
parent 41
5e5f9cf00b75
child 43
1d1f1090890f

Eliminated direct access to the pdata structure of the Project class.

ChangeLog file | annotate | diff | comparison | revisions
PluginVulture.py file | annotate | diff | comparison | revisions
PluginVulture.zip file | annotate | diff | comparison | revisions
--- a/ChangeLog	Sat Jul 09 13:18:07 2016 +0200
+++ b/ChangeLog	Sat Nov 26 14:56:40 2016 +0100
@@ -1,5 +1,8 @@
 ChangeLog
 ---------
+Version 1.0.2:
+- bug fixes
+
 Version 1.0.1:
 - updated Russian translations
 
--- 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")))]
Binary file PluginVulture.zip has changed

eric ide

mercurial