def prep_initfiles_canaddfile(self, ignorepatt, pattern, file): """Override the parent to process dotfiles and keep them out of the list.""" if DirHandler.prep_initfiles_canaddfile(self, ignorepatt, pattern, file): # If the parent says it's OK, then let's see if it's # a link file. If yes, process it and return false. if file[0] == '.': if not self.vfs.isdir(self.selectorbase + '/' + file): self.linkentries.extend(self.processLinkFile(self.selectorbase + '/' + file)) return 0 else: return 0 # A "dot dir" -- ignore. return 1 # Not a dot file -- return true else: return 0 # Parent returned 0, do the same.