def update_progress(opts, progress, progress_iter, out):
 try:
  progress_outputter = salt.loader.outputters(opts)[out]
 except KeyError:
  log.warning('Progress outputter not available.')
  return False
 progress_outputter(progress, progress_iter)

def update_progress ( opts , progress , progress_iter , out ) : try : progress_outputter = salt . loader . outputters ( opts ) [ out ] except KeyError : log . warning ( 'Progress outputter not available.' ) return False progress_outputter ( progress , progress_iter )
update the progress iterator for the given outputter .