e4c5108c9deb8ecdf296f7c8da5f9dc26789d930,homeassistant/components/automation/__init__.py,,setup,#Any#Any#,37

Before Change


        config_key = "{} {}".format(DOMAIN, found)

        name = p_config.get(CONF_ALIAS, config_key)
        action = _get_action(hass, p_config.get(CONF_ACTION, {}), name)

        if action is None:
            continue

After Change


            for config_block in config[config_key]:
                name = config_block.get(CONF_ALIAS, "{}, {}".format(config_key, list_no))
                list_no += 1
                config_block = _migrate_old_config(config_block)
                _setup_automation(hass, config_block, name, config)

        // any scalar value is incorrect
        else:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: home-assistant/home-assistant
Commit Name: e4c5108c9deb8ecdf296f7c8da5f9dc26789d930
Time: 2015-09-18
Author: stefan.jonasson@sitedirect.se
File Name: homeassistant/components/automation/__init__.py
Class Name:
Method Name: setup


Project Name: home-assistant/home-assistant
Commit Name: 68c1dd7cd47c516df765a1742a62abca5c3d5f83
Time: 2015-09-14
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/automation/__init__.py
Class Name:
Method Name: setup


Project Name: home-assistant/home-assistant
Commit Name: 40651ef2bc5948f3702a7dbee3e597b96dadc5e8
Time: 2015-09-19
Author: stefan.jonasson@sitedirect.se
File Name: homeassistant/components/automation/__init__.py
Class Name:
Method Name: setup