def get_user_info(http_cookie, cookie_name=_COOKIE_NAME):
 try:
  cookie = Cookie.SimpleCookie(http_cookie)
 except Cookie.CookieError:
  return ('', False, '')
 cookie_dict = dict(((k, v.value) for (k, v) in cookie.iteritems()))
 return _get_user_info_from_dict(cookie_dict, cookie_name)

def get_user_info ( http_cookie , cookie_name = _COOKIE_NAME ) : try : cookie = Cookie . SimpleCookie ( http_cookie ) except Cookie . CookieError : return ( '' , False , '' ) cookie_dict = dict ( ( ( k , v . value ) for ( k , v ) in cookie . iteritems ( ) ) ) return _get_user_info_from_dict ( cookie_dict , cookie_name )
returns an s3 user with .