def _ls_emr_step_stderr_logs(fs, log_dir_stream, step_id=None):
 matches = _ls_logs(fs, log_dir_stream, _match_emr_step_stderr_path, step_id=step_id)
 return sorted(matches, key=_match_sort_key, reverse=True)

def _ls_emr_step_stderr_logs ( fs , log_dir_stream , step_id = None ) : matches = _ls_logs ( fs , log_dir_stream , _match_emr_step_stderr_path , step_id = step_id ) return sorted ( matches , key = _match_sort_key , reverse = True )
yield matching step logs .