def logout_user(cookies, username):
    try:
        logger.info("%s logging out."% username)
        r1 = requests.get(
            get_splunkweb_url("account/logout"),
            allow_redirects=True,
            cookies=cookies)
    except Exception, e:
        logger.exception(e)
        pass
dataset/ETHPy150Open splunk/splunk-webframework/server/splunkdj/auth/backends.py/logout_user/original