def _get_gpg_exec():
 gpg_exec = salt.utils.which('gpg')
 if gpg_exec:
  return gpg_exec
 else:
  raise SaltRenderError('GPG unavailable')

def _get_gpg_exec ( ) : gpg_exec = salt . utils . which ( 'gpg' ) if gpg_exec : return gpg_exec else : raise SaltRenderError ( 'GPG unavailable' )
return the gpg executable or raise an error .