diff -r 4550d8e34765 -r 3d88d53f8c2b DataViews/CodeMetricsDialog.py --- 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()