963ec339d932d3888f79dea12d3d3a89cbd1f141,debug_toolbar/panels/request_vars.py,RequestVarsDebugPanel,process_response,#RequestVarsDebugPanel#Any#Any#,38

Before Change


            "cookies": [(k, self.request.COOKIES.get(k)) for k in self.request.COOKIES],
        })

        if hasattr(self, "view_func"):
            if self.view_func is not None:
                name = get_name_from_obj(self.view_func)
            else:
                name = "<no view>"

            self.record_stats({
                "view_func": name,
                "view_args": self.view_args,
                "view_kwargs": self.view_kwargs
            })

        if hasattr(self.request, "session"):
            self.record_stats({
                "session": [(k, self.request.session.get(k)) for k in self.request.session.iterkeys()]
            })

After Change


             "view_kwargs": "None",
             "view_urlname": "None",
         }
        try:
            match = resolve(self.request.path)
            func, args, kwargs = match
            view_info["view_func"] = get_name_from_obj(func)
            view_info["view_args"] = args
            view_info["view_kwargs"] = kwargs
            view_info["view_urlname"] = getattr(match, "url_name",
                                                _("<unavailable>"))
        except Http404:
            pass
        self.record_stats(view_info)

        if hasattr(self.request, "session"):
            self.record_stats({
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: jazzband/django-debug-toolbar
Commit Name: 963ec339d932d3888f79dea12d3d3a89cbd1f141
Time: 2012-04-06
Author: jannis@leidel.info
File Name: debug_toolbar/panels/request_vars.py
Class Name: RequestVarsDebugPanel
Method Name: process_response


Project Name: matplotlib/matplotlib
Commit Name: d23bcea94a01a598de9619a1bf45b911120f7096
Time: 2019-01-08
Author: jklymak@gmail.com
File Name: lib/matplotlib/axis.py
Class Name: Axis
Method Name: _update_ticks


Project Name: comic/grand-challenge.org
Commit Name: c8f80caf3b3a5707a2d5d2b9dfee1e4e80f1b3be
Time: 2017-05-09
Author: jamesmeakin@gmail.com
File Name: django/comicsite/templatetags/comic_templatetags.py
Class Name: comic_URLNode
Method Name: render