e99c3acd249cc05e1e85ec9a60b5a87685a79f78,debug_toolbar/panels/version.py,VersionDebugPanel,process_response,#VersionDebugPanel#Any#Any#,30

Before Change


                }
        request.debug_toolbar.stats["versions"] = self.stats["versions"]
        request.debug_toolbar.stats["paths"] = self.stats["paths"]
        return response

    def content(self):
        context = self.context.copy()
        context.update(self.stats)

After Change


            "paths": sys.path,
        }
        
        toolbar = DebugToolbarMiddleware.get_current()
        toolbar.stats["version"] = self.stats

    def content(self):
        context = self.context.copy()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: jazzband/django-debug-toolbar
Commit Name: e99c3acd249cc05e1e85ec9a60b5a87685a79f78
Time: 2011-09-12
Author: brandon@konkle.us
File Name: debug_toolbar/panels/version.py
Class Name: VersionDebugPanel
Method Name: process_response


Project Name: openai/baselines
Commit Name: b875fb7b5e4feb85b9f1f1bf4e78f64c75595664
Time: 2019-02-27
Author: peterzhokhoff@gmail.com
File Name: baselines/logger.py
Class Name:
Method Name: getkvs


Project Name: comic/grand-challenge.org
Commit Name: 87410f44a11fcd8366cb0ec74c82b74cef5d428a
Time: 2018-11-29
Author: jamesmeakin@gmail.com
File Name: app/grandchallenge/subdomains/urls.py
Class Name:
Method Name: reverse


Project Name: jazzband/django-debug-toolbar
Commit Name: d9e9d8bbddb9986db79047a40194232f1baadf50
Time: 2011-09-12
Author: brandon@konkle.us
File Name: debug_toolbar/panels/sql.py
Class Name: SQLDebugPanel
Method Name: process_response