DataViews/CodeMetricsDialog.py

changeset 5597
3d88d53f8c2b
parent 5389
9b1c800daff3
child 5736
000ea446ff4b
--- a/DataViews/CodeMetricsDialog.py	Thu Mar 09 17:56:06 2017 +0100
+++ b/DataViews/CodeMetricsDialog.py	Thu Mar 09 19:28:59 2017 +0100
@@ -270,9 +270,9 @@
                                    self.__data)
         filterList = filterString.split(",")
         if filterList:
-            for filter in filterList:
+            for filterString in filterList:
                 fileList = [f for f in fileList
-                            if not fnmatch.fnmatch(f, filter.strip())]
+                            if not fnmatch.fnmatch(f, filterString.strip())]
         
         self.resultList.clear()
         self.summaryList.clear()

eric ide

mercurial