Project/Project.py

changeset 3503
2e98a3705f15
parent 3447
64fb656bd334
child 3515
1b8381afe38f
child 3521
7d17803aab56
diff -r 374aff9c8687 -r 2e98a3705f15 Project/Project.py
--- 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