5604 # do not bother with dirs here... |
5604 # do not bother with dirs here... |
5605 if os.path.isdir(ns): |
5605 if os.path.isdir(ns): |
5606 if recursiveSearch: |
5606 if recursiveSearch: |
5607 d = self.getRelativePath(ns) |
5607 d = self.getRelativePath(ns) |
5608 if d not in dirs: |
5608 if d not in dirs: |
5609 dirs.append(d) # noqa: M538 |
5609 dirs.append(d) # noqa: M569 |
5610 continue |
5610 continue |
5611 |
5611 |
5612 filetype = "" |
5612 filetype = "" |
5613 bfn = os.path.basename(fn) |
5613 bfn = os.path.basename(fn) |
5614 for pattern in sorted(self.__pdata["FILETYPES"], reverse=True): |
5614 for pattern in sorted(self.__pdata["FILETYPES"], reverse=True): |