src/eric7/Plugins/PluginCodeStyleChecker.py

branch
eric7
changeset 9514
2b104ad132a4
parent 9482
a2bc06a54d9d
child 9624
b47dfa7a137d
--- a/src/eric7/Plugins/PluginCodeStyleChecker.py	Wed Nov 16 10:10:06 2022 +0100
+++ b/src/eric7/Plugins/PluginCodeStyleChecker.py	Wed Nov 16 10:53:40 2022 +0100
@@ -375,7 +375,7 @@
         ppath = project.getProjectPath()
         files = [
             os.path.join(ppath, file)
-            for file in project.pdata["SOURCES"]
+            for file in project.getProjectData(dataKey="SOURCES")
             if file.endswith(tuple(Preferences.getPython("Python3Extensions")))
         ]
 

eric ide

mercurial