299 if "ExcludeFiles" not in self.__data or \ |
299 if "ExcludeFiles" not in self.__data or \ |
300 filterString != self.__data["ExcludeFiles"]: |
300 filterString != self.__data["ExcludeFiles"]: |
301 self.__data["ExcludeFiles"] = filterString |
301 self.__data["ExcludeFiles"] = filterString |
302 self.__project.setData("CHECKERSPARMS", "SyntaxChecker", |
302 self.__project.setData("CHECKERSPARMS", "SyntaxChecker", |
303 self.__data) |
303 self.__data) |
304 filterList = filterString.split(",") |
304 filterList = [f.strip() for f in filterString.split(",") |
|
305 if f.strip()] |
305 if filterList: |
306 if filterList: |
306 for filter in filterList: |
307 for filter in filterList: |
307 fileList = \ |
308 fileList = \ |
308 [f for f in fileList |
309 [f for f in fileList if not fnmatch.fnmatch(f, filter)] |
309 if not fnmatch.fnmatch(f, filter.strip())] |
|
310 |
310 |
311 self.resultList.clear() |
311 self.resultList.clear() |
312 self.noResults = True |
312 self.noResults = True |
313 self.cancelled = False |
313 self.cancelled = False |
314 self.start(fileList) |
314 self.start(fileList) |