5728 # do not bother with dirs here... |
5728 # do not bother with dirs here... |
5729 if os.path.isdir(ns): |
5729 if os.path.isdir(ns): |
5730 if recursiveSearch: |
5730 if recursiveSearch: |
5731 d = self.getRelativePath(ns) |
5731 d = self.getRelativePath(ns) |
5732 if d not in dirs: |
5732 if d not in dirs: |
5733 dirs.append(d) |
5733 dirs.append(d) # noqa: M538 |
5734 continue |
5734 continue |
5735 |
5735 |
5736 filetype = "" |
5736 filetype = "" |
5737 bfn = os.path.basename(fn) |
5737 bfn = os.path.basename(fn) |
5738 for pattern in sorted(self.__pdata["FILETYPES"], reverse=True): |
5738 for pattern in sorted(self.__pdata["FILETYPES"], reverse=True): |