8c728d1b4eaf5f66570d7a9d139cd8e1940c551f,homeassistant/components/device_tracker/icloud.py,,setup_scanner,#Any#Any#Any#,21

Before Change



    if username is None or password is None:
        _LOGGER.error("Must specify a username and password")
        return False

    try:
        _LOGGER.info("Logging into iCloud Account")
        // Attempt the login to iCloud

After Change


        except PyiCloudNoDevicesException:
            _LOGGER.info("No iCloud Devices found!")

    hass.bus.listen_once(EVENT_HOMEASSISTANT_START, update_icloud)

    update_minutes = list(range(0, 60, config[CONF_INTERVAL]))
    // Schedule keepalives between the updates
    keepalive_minutes = list(x for x in range(0, 60, KEEPALIVE_INTERVAL)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: home-assistant/home-assistant
Commit Name: 8c728d1b4eaf5f66570d7a9d139cd8e1940c551f
Time: 2016-07-26
Author: kellerza@gmail.com
File Name: homeassistant/components/device_tracker/icloud.py
Class Name:
Method Name: setup_scanner


Project Name: home-assistant/home-assistant
Commit Name: 966ab20f262128fa7194cc0e286249a6328a8410
Time: 2017-12-28
Author: jeroen_ter_heerdt@hotmail.com
File Name: homeassistant/components/alarm_control_panel/egardia.py
Class Name:
Method Name: setup_platform


Project Name: home-assistant/home-assistant
Commit Name: 6500cb791588e115a62712199c0cbed626af8f31
Time: 2018-02-13
Author: frederik.bolding@gmail.com
File Name: homeassistant/components/camera/rpi_camera.py
Class Name:
Method Name: setup_platform