original_docstring:  Update the log file for each task
docstring: Update the log file for each task
docstring_tokens: Update the log file for each task
code: def _update_logging_ini(self, task_id):  # pylint: disable=no-self-use
          """ Update the log file for each task"""
          config = ConfigParser.RawConfigParser()
          config.read(
              pkg_resources.resource_filename('functest', 'ci/logging.ini'))
          log_path = os.path.join(CONST.__getattribute__('dir_results'),
                                  '{}.log'.format(task_id))
          config.set('handler_file', 'args', '("{}",)'.format(log_path))
  
          with open(
              pkg_resources.resource_filename(
                  'functest', 'ci/logging.ini'), 'wb') as configfile:
              config.write(configfile)
code_tokens: def _update_logging_ini ( self , task_id ) : config = ConfigParser . RawConfigParser ( ) config . read ( pkg_resources . resource_filename ( 'functest' , 'ci/logging.ini' ) ) log_path = os . path . join ( CONST . __getattribute__ ( 'dir_results' ) , '{}.log' . format ( task_id ) ) config . set ( 'handler_file' , 'args' , '("{}",)' . format ( log_path ) ) with open ( pkg_resources . resource_filename ( 'functest' , 'ci/logging.ini' ) , 'wb' ) as configfile : config . write ( configfile )
short_docstring: Update the log file for each task
short_docstring_tokens: Update the log file for each task
comment: # pylint: disable=no-self-use$SEP$""" Update the log file for each task"""