def get_user_profile(user):
 try:
  listeners = get_memcached(get_key('listeners'))
  return listeners[user]['profile']
 except:
  return user

def get_user_profile ( user ) : try : listeners = get_memcached ( get_key ( 'listeners' ) ) return listeners [ user ] [ 'profile' ] except : return user
return user profile .