a0ebcc3d2747465b11a135ede45782a9ad2b4863,debug_toolbar/panels/templates/panel.py,TemplatesPanel,_store_template_info,#TemplatesPanel#,83

Before Change



        // Skip templates that we are generating through the debug toolbar.
        if (isinstance(template.name, six.string_types) and
                template.name.startswith(
                    tuple(self.toolbar.config["SKIP_TEMPLATE_PREFIXES"]))):
            return

        context_list = []

After Change


        template, context = kwargs["template"], kwargs["context"]

        // Skip templates that we are generating through the debug toolbar.
        if (isinstance(template.name, six.string_types) and (
            template.name.startswith("debug_toolbar/") or
            template.name.startswith(
                tuple(self.toolbar.config["SKIP_TEMPLATE_PREFIXES"])))):
            return

        context_list = []
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: jazzband/django-debug-toolbar
Commit Name: a0ebcc3d2747465b11a135ede45782a9ad2b4863
Time: 2017-05-04
Author: mk@feinheit.ch
File Name: debug_toolbar/panels/templates/panel.py
Class Name: TemplatesPanel
Method Name: _store_template_info


Project Name: commonsense/conceptnet5
Commit Name: 2d47460b9f10421dbc353e9ae6d8037b24ea5684
Time: 2016-08-22
Author: rob@luminoso.com
File Name: conceptnet5/uri.py
Class Name:
Method Name: is_absolute_url


Project Name: scikit-video/scikit-video
Commit Name: 4f2d0c616d90eb54f058a9014aa87c2b9a13632e
Time: 2018-08-04
Author: tgoodall@utexas.edu
File Name: skvideo/io/abstract.py
Class Name: VideoReaderAbstract
Method Name: _readFrame