PluginMetricsRadon.py

changeset 38
75d13fd03888
parent 37
7fd806094f0f
child 40
7408ca084337
--- 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")))]

eric ide

mercurial