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

Sat, 26 Nov 2016 14:37:27 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 26 Nov 2016 14:37:27 +0100
changeset 38
75d13fd03888
parent 37
7fd806094f0f
child 39
bf5a8a270570

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

ChangeLog file | annotate | diff | comparison | revisions
PluginMetricsRadon.py file | annotate | diff | comparison | revisions
PluginMetricsRadon.zip file | annotate | diff | comparison | revisions
--- a/ChangeLog	Fri Jan 01 12:18:55 2016 +0100
+++ b/ChangeLog	Sat Nov 26 14:37:27 2016 +0100
@@ -1,5 +1,8 @@
 ChangeLog
 ---------
+Version 1.0.1:
+- bug fixes
+
 Version 1.0.0:
 - bug fixes
 - first stable release
--- a/PluginMetricsRadon.py	Fri Jan 01 12:18:55 2016 +0100
+++ b/PluginMetricsRadon.py	Sat Nov 26 14:37:27 2016 +0100
@@ -28,7 +28,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "1.0.0"
+version = "1.0.1"
 className = "RadonMetricsPlugin"
 packageName = "RadonMetrics"
 shortDescription = "Code metrics plugin using radon package"
@@ -843,7 +843,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")))]
@@ -905,7 +905,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")))]
@@ -970,7 +970,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 PluginMetricsRadon.zip has changed

eric ide

mercurial