def scrub_response_headers(response):
    for item in ('location', 'Location'):
        if response['headers'] in item:
            response['headers'][item] = [scrub_uri(uri)
                                         for uri in response['headers'][item]]
    return response
dataset/ETHPy150Open IvanMalison/okcupyd/okcupyd_testing/util.py/scrub_response_headers/swapped operands of `in`