086c1ec7c2d7cb2287476e03dec09253067e61d0,niftynet/utilities/download.py,ConfigStoreCache,get_download_params,#ConfigStoreCache#,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


        parser = SafeConfigParser()
        parser.read(config_filename)
        if parser.has_section("config"):
            config_section = dict(parser.items("config"))
        else:
            config_section = {}

        other_sections = {}
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

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: deepmind/sonnet
Commit Name: 4813caaade69050a44979ed878298e3ae89b08eb
Time: 2017-08-07
Author: noreply@google.com
File Name: sonnet/python/ops/nest.py
Class Name:
Method Name: _iterable_like


Project Name: NifTK/NiftyNet
Commit Name: e2949a14f2bc5a9eaa689df314cba57f9cf61972
Time: 2018-05-06
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/io/image_reader.py
Class Name: ImageReader
Method Name: initialise