983aedb23057629605c8a7c8d9757945651d48f5,perfkitbenchmarker/packages/fio.py,,ParseJobFile,#Any#,59

Before Change


  sections = config.__dict__["_sections"]
  global_metadata = {}
  if GLOBAL in sections:
    global_metadata = dict(sections[GLOBAL])
    del sections[GLOBAL]
  for section in sections:
    if section != GLOBAL:
      sections[section] = dict(sections[section])

After Change


  section_metadata = {}
  for section in config.sections():
    if section != GLOBAL:
      metadata = {}
      metadata.update(dict(config.items(section)))
      metadata.update(global_metadata)
      if JOB_STONEWALL_PARAMETER in metadata:
        del metadata[JOB_STONEWALL_PARAMETER]
      section_metadata[section] = metadata
  return section_metadata
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 983aedb23057629605c8a7c8d9757945651d48f5
Time: 2015-03-27
Author: yuyantingzero@gmail.com
File Name: perfkitbenchmarker/packages/fio.py
Class Name:
Method Name: ParseJobFile


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 983aedb23057629605c8a7c8d9757945651d48f5
Time: 2015-03-27
Author: yuyantingzero@gmail.com
File Name: perfkitbenchmarker/packages/fio.py
Class Name:
Method Name: ParseJobFile


Project Name: sassoftware/python-dlpy
Commit Name: e7b63d517162714a847ab8fe7d7db1fc107b28a5
Time: 2017-07-20
Author: kevin.smith@sas.com
File Name: dl_api/layers.py
Class Name:
Method Name: _unpack_config


Project Name: sassoftware/python-dlpy
Commit Name: 2dcfebea8f99f32ee77039dd724bb9d39f06054d
Time: 2017-07-20
Author: leo.liu@sas.com
File Name: dl_api/layers.py
Class Name:
Method Name: _unpack_config