def _get_action_user_name(kwargs):
 if ('user' in kwargs):
  user = kwargs['user']
 else:
  user = helpers.call_action('get_site_user')
 if (user is None):
  user_name = None
 else:
  user_name = user['name']
 return user_name

def _get_action_user_name ( kwargs ) : if ( 'user' in kwargs ) : user = kwargs [ 'user' ] else : user = helpers . call_action ( 'get_site_user' ) if ( user is None ) : user_name = None else : user_name = user [ 'name' ] return user_name
return the name of the user in kwargs .