956f6056f9a22ea900f8e4e5f4d84756634842b4,homeassistant/components/automation/__init__.py,,setup,#Any#Any#,36
Before Change
// Any scalar value is incorrect
else:
_LOGGER.error("Error in config in section %s.", config_key)
found += 1
config_key = "{} {}".format(DOMAIN, found)
After Change
for config_key in extract_domain_configs(config, DOMAIN):
conf = config[config_key]
if not isinstance(conf, list) :
conf = [conf]
for list_no, config_block in enumerate(conf):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: home-assistant/home-assistant
Commit Name: 956f6056f9a22ea900f8e4e5f4d84756634842b4
Time: 2016-03-13
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/automation/__init__.py
Class Name:
Method Name: setup
Project Name: GoogleCloudPlatform/professional-services
Commit Name: 4d812aeda5ae9235f239a3a766f07c11b499606b
Time: 2019-01-03
Author: pkattamuri@google.com
File Name: tools/hive-bigquery/hive_component.py
Class Name: HiveComponent
Method Name: execute_query
Project Name: fxsjy/jieba
Commit Name: b367690eebc97a2fea3da1c1694ba365c72fd713
Time: 2014-10-18
Author: abcdoyle888@gmail.com
File Name: jieba/__init__.py
Class Name:
Method Name: initialize