def report_clone_repo_errors(task):
 if ((task.cmd is None) or task.cmd.ok):
  return
 Interaction.critical(task.cmd.error_message, message=task.cmd.error_message, details=task.cmd.error_details)

def report_clone_repo_errors ( task ) : if ( ( task . cmd is None ) or task . cmd . ok ) : return Interaction . critical ( task . cmd . error_message , message = task . cmd . error_message , details = task . cmd . error_details )
report errors from the clone task if they exist .