e357e1dbcdf36eb12be0bc5043e0a098f94a833a,django/comicsite/templatetags/comic_templatetags.py,comic_URLNode,render,#comic_URLNode#Any#,250

Before Change


            // path to this comicsite?

            try:
                project = re.findall("^\/site\/([^\/]+)\/.*$", url)[0]

            except IndexError:
                // this url cannot use the domain name shortcut, so it is
                // probably meant as a link the main comicframework site.

After Change


            // Interpret subdomain as a comicsite. What would normally be the
            // path to this comicsite?

            args = [arg.resolve(context) for arg in self.args]
            project = args[0]

            if project == settings.MAIN_PROJECT_NAME:
                // this url cannot use the domain name shortcut, so it is
                // probably meant as a link the main comicframework site.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


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


Project Name: WheatonCS/Lexos
Commit Name: 9b6a4d09777e94178b997f12020a8e26919b55d8
Time: 2019-06-17
Author: loberti_jacob@wheatoncollege.edu
File Name: lexos/processors/prepare/cutter.py
Class Name:
Method Name: cut_by_characters


Project Name: datascienceinc/Skater
Commit Name: 9e3ad1be4da9bf59e76c22d80a69b0f67db5092c
Time: 2017-11-19
Author: pramitchoudhary@Pramits-MacBook-Pro.local
File Name: skater/core/local_interpretation/text_interpreter.py
Class Name:
Method Name: relevance_wt_transformer


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: b2b82c89d8ec2dec10e112d741570b93ed8b9461
Time: 2020-10-15
Author: dphanekham@smu.edu
File Name: perfkitbenchmarker/linux_benchmarks/iperf_benchmark.py
Class Name:
Method Name: _RunIperf