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

Before Change


            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({

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: 5

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: nilmtk/nilmtk
Commit Name: b523b464d8cafe29e352981c1c6df941f205592a
Time: 2014-07-09
Author: jack-list@xlk.org.uk
File Name: nilmtk/metrics.py
Class Name:
Method Name: mean_normalized_error_power


Project Name: cesium-ml/cesium
Commit Name: 9ca3f533cb6d467a1ebffda880137d3cc0ef9561
Time: 2015-05-13
Author: a.crellinquick@gmail.com
File Name: mltsp/custom_feature_tools.py
Class Name:
Method Name: extract_feats_in_docker_container