def process_request(self, request):
        if self.show_profile(request):
            if request.GET in 'prof_file':
                # It's sometimes useful to generate a file of output that can
                # converted for use with kcachegrind.  To convert this file,
                # use:
                #
                #     pyprof2calltree -o /tmp/callgrind.stats -i /tmp/out.stats
                #
                # then open the file in kcachegrind.
                self.tmpfile = open('/tmp/out.stats', 'w')
            else:
                self.tmpfile = tempfile.NamedTemporaryFile()
            self.profile = self.profiler()
dataset/ETHPy150Open django-oscar/django-oscar/src/oscar/profiling/middleware.py/BaseMiddleware.process_request/swapped operands of `in`