Project/Project.py

branch
5_4_x
changeset 3504
0fb89cf25922
parent 3373
5131565abc69
--- a/Project/Project.py	Sat Apr 12 16:58:29 2014 +0200
+++ b/Project/Project.py	Sun Apr 13 16:21:30 2014 +0200
@@ -4313,7 +4313,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