def find_file(self, filename): """Checks for the given file and adds it to the list of all files""" result = Engine.find_file(self, filename) if not hasattr(self, "all_files"): self.all_files = set() if result: self.all_files.add(result) return result
def find_file(self, filename): result = Engine.find_file(self, filename) if not hasattr(self, "all_files"): self.all_files = set() if result: self.all_files.add(result) return result