def _ParseLogFileOptions(self, options):
    """Parses the log file options.

    Args:
      options (argparse.Namespace): command line arguments.
    """
    self._log_file = self.ParseStringOption(options, 'log_file')
    if not self._log_file:
      local_date_time = datetime.datetime.now()
      self._log_file = (
          '{0:s}-{1:04d}{2:02d}{3:02d}T{4:02d}{5:02d}{6:02d}.log.gz').format(
              self.NAME, local_date_time.year, local_date_time.month,
              local_date_time.day, local_date_time.hour, local_date_time.minute,
              local_date_time.second)
def _ParseLogFileOptions ( self , options ) : self . _log_file = self . ParseStringOption ( options , 'log_file' ) if not self . _log_file : local_date_time = datetime . datetime . now ( ) self . _log_file = ( '{0:s}-{1:04d}{2:02d}{3:02d}T{4:02d}{5:02d}{6:02d}.log.gz' ) . format ( self . NAME , local_date_time . year , local_date_time . month , local_date_time . day , local_date_time . hour , local_date_time . minute , local_date_time . second )
Parses the log file options.

    Args:
      options (argparse.Namespace): command line arguments.