086c1ec7c2d7cb2287476e03dec09253067e61d0,niftynet/utilities/download.py,ConfigStoreCache,get_download_params,#ConfigStoreCache#Any#,267

Before Change


        parser = SafeConfigParser()
        parser.read(config_filename)
        config_section = dict(parser.items("config")) if "config" in parser else {}
        other_sections = {key: value for key, value in parser.items() if key != "config" and key != "DEFAULT"}
        return config_section, other_sections

After Change


        other_sections = {}
        for section in parser.sections():
            if section != "config" and section != "DEFAULT":
                other_sections[section] = dict(parser.items(section))
        return config_section, other_sections


class RemoteProxy:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: NifTK/NiftyNet
Commit Name: 086c1ec7c2d7cb2287476e03dec09253067e61d0
Time: 2017-10-09
Author: t.doel@ucl.ac.uk
File Name: niftynet/utilities/download.py
Class Name: ConfigStoreCache
Method Name: get_download_params


Project Name: google/tangent
Commit Name: 31269a5197170026985db35c4703cc6e9c805ebf
Time: 2017-11-10
Author: bart.vanmerrienboer@gmail.com
File Name: tangent/reverse_ad.py
Class Name: ReverseAD
Method Name: visit_Call


Project Name: google/tangent
Commit Name: 31269a5197170026985db35c4703cc6e9c805ebf
Time: 2017-11-10
Author: bart.vanmerrienboer@gmail.com
File Name: tangent/forward_ad.py
Class Name: ForwardAD
Method Name: visit_Call