def _scrub_uri(uri):
    """scrub auth info from uri"""
    if '/api/authorizations/cookie/' in uri or uri in '/api/authorizations/token/':
        uri = uri.rsplit('/', 1)[0] + '/[secret]'
    return uri
dataset/ETHPy150Open jupyterhub/jupyterhub/jupyterhub/log.py/_scrub_uri/swapped operands of `in`