Exemplo n.º 1
0
 def ls_history_logs():
     # there should be at most one history log
     for match in _ls_history_logs(self.fs,
                                   stream_history_log_dirs(),
                                   job_id=job_id):
         log.info('Found history log: %s' % match['path'])
         yield match
Exemplo n.º 2
0
 def _ls_history_logs(self, job_id=None, output_dir=None):
     """Yield history log matches, logging a message for each one."""
     for match in _ls_history_logs(
             self.fs,
             self._stream_history_log_dirs(output_dir=output_dir),
             job_id=job_id):
         log.info('  Parsing history log: %s' % match['path'])
         yield match
Exemplo n.º 3
0
 def _ls_history_logs(self, job_id=None, output_dir=None):
     """Yield history log matches, logging a message for each one."""
     for match in _ls_history_logs(
             self.fs,
             self._stream_history_log_dirs(output_dir=output_dir),
             job_id=job_id):
         log.info('  Parsing history log: %s' % match['path'])
         yield match
Exemplo n.º 4
0
 def ls_history_logs():
     # there should be at most one history log
     for match in _ls_history_logs(
             self.fs, stream_history_log_dirs(), job_id=job_id):
         log.info('Found history log: %s' % match['path'])
         yield match