def __call__(self, t_path, name_info, i_str):
logger.info('<STR_LIT>',<EOL>t_path, name_info, i_str)<EOL>try:<EOL><INDENT>more_name_info = get_name_info(t_path, i_str=i_str,<EOL>chunk_type=self.chunk_type)<EOL><DEDENT>except Exception as exc:<EOL><INDENT>logger.critical('<STR_LIT>', t_path, i_str, exc_info=True)<EOL>raise<EOL><DEDENT>self.name_info = dict(name_info, **more_name_info)<EOL>if self.name_info['<STR_LIT>'] == <NUM_LIT:0>:<EOL><INDENT>return None<EOL><DEDENT>o_path = self.s3key_name<EOL>logger.info('<STR_LIT>',<EOL>self.__class__.__name__, o_path, i_str, t_path)<EOL>t_path2 = self.prepare_on_disk(t_path)<EOL>data_len = os.path.getsize(t_path2)<EOL>if data_len == <NUM_LIT:0>:<EOL><INDENT>logger.critical('<STR_LIT>')<EOL><DEDENT>logger.debug('<STR_LIT>', data_len, t_path2)<EOL>self.put_data(o_path, t_path2, self.name_info['<STR_LIT>'], data_len)<EOL>self.cleanup(t_path, t_path2)<EOL>logger.info('<STR_LIT>',<EOL>self.__class__.__name__, i_str, o_path)<EOL>return [o_path]<EOL>
Load chunk from t_path and put it into the right place in s3
using the output_name template from the config