def default_loader(file_path): try: return pickle.load(opener(file_path, "rb")) except Exception, e: decon_io_logger.warning("Failed to open %s for default_loader", file_path, exc_info=e)
def _load(self, file_path): self.data = pickle.load(opener(file_path))