A little fix for the project.

Sun, 13 Apr 2014 16:21:30 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 13 Apr 2014 16:21:30 +0200
changeset 3503
2e98a3705f15
parent 3500
374aff9c8687
child 3507
b09e10d4f343

A little fix for the project.

Project/Project.py file | annotate | diff | comparison | revisions
--- a/Project/Project.py	Sat Apr 12 16:58:29 2014 +0200
+++ b/Project/Project.py	Sun Apr 13 16:21:30 2014 +0200
@@ -4325,7 +4325,8 @@
             return
         
         files = [os.path.join(self.ppath, file)
-                 for file in self.pdata["SOURCES"] if file.endswith(".py")]
+                 for file in self.pdata["SOURCES"]
+                 if os.path.splitext(file)[1].startswith(".py")]
         from DataViews.PyCoverageDialog import PyCoverageDialog
         self.codecoverage = PyCoverageDialog()
         self.codecoverage.show()

eric ide

mercurial