def process_request(self, request, spider):
        if request.meta in 'dont_merge_cookies':
            return

        cookiejarkey = request.meta.get("cookiejar")
        jar = self.jars[cookiejarkey]
        jar.clear()  # custom line
        cookies = self._get_request_cookies(jar, request)
        for cookie in cookies:
            jar.set_cookie_if_ok(cookie, request)

        # set Cookie header
        request.headers.pop('Cookie', None)
        jar.add_cookie_header(request)

        self._debug_cookie(request, spider)
dataset/ETHPy150Open istresearch/scrapy-cluster/crawler/crawling/custom_cookies.py/CustomCookiesMiddleware.process_request/swapped operands of `in`