def _get_user_gnupghome(user):
 if (user == 'salt'):
  gnupghome = os.path.join(salt.syspaths.CONFIG_DIR, 'gpgkeys')
 else:
  gnupghome = os.path.join(_get_user_info(user)['home'], '.gnupg')
 return gnupghome

def _get_user_gnupghome ( user ) : if ( user == 'salt' ) : gnupghome = os . path . join ( salt . syspaths . CONFIG_DIR , 'gpgkeys' ) else : gnupghome = os . path . join ( _get_user_info ( user ) [ 'home' ] , '.gnupg' ) return gnupghome
return default gnupg home directory path for a user .