3568de8adbc634571d55d408bbafe86c74f2bea1,debug_toolbar/panels/staticfiles.py,StaticFilesPanel,num_used,#StaticFilesPanel#,101

Before Change



    @property
    def num_used(self):
        return len(self._paths[threading.currentThread()])

    nav_title = _("Static files")

    @property

After Change



    @property
    def num_used(self):
        stats = self.get_stats()
        return stats and stats["num_used"]

    nav_title = _("Static files")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: jazzband/django-debug-toolbar
Commit Name: 3568de8adbc634571d55d408bbafe86c74f2bea1
Time: 2020-08-08
Author: schillingt@better-simple.com
File Name: debug_toolbar/panels/staticfiles.py
Class Name: StaticFilesPanel
Method Name: num_used


Project Name: Netflix/vmaf
Commit Name: 11af054aea471e8926f2a091c2345228ded5163a
Time: 2018-02-28
Author: zli@netflix.com
File Name: python/src/vmaf/core/train_test_model.py
Class Name: TrainTestModel
Method Name: evaluate


Project Name: Netflix/vmaf
Commit Name: cceae1fee29ec0269616e7c2364f1714a518b2c3
Time: 2018-02-28
Author: zli@netflix.com
File Name: python/src/vmaf/core/train_test_model.py
Class Name: TrainTestModel
Method Name: evaluate