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

Before Change


    password = config.get(CONF_PASSWORD)

    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")

After Change



    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)
                             if x not in update_minutes)

    track_utc_time_change(hass, update_icloud, second=0, minute=update_minutes)
    track_utc_time_change(hass, keep_alive, second=0, minute=keepalive_minutes)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

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: ilastik/ilastik
Commit Name: efd6b7c39fbefbb1e6f5fdc67ff1d2c64f65d46e
Time: 2012-09-13
Author: christoph.straehle@iwr.uni-heidelberg.de
File Name: lazyflow/operators/obsolete/classifierOperators.py
Class Name: OpTrainRandomForest
Method Name: getOutSlot


Project Name: home-assistant/home-assistant
Commit Name: abcfcdd8872dfe36c3a96afafdb4ba7f6abeb47d
Time: 2017-07-26
Author: cby@cby.me
File Name: homeassistant/components/weather/yweather.py
Class Name:
Method Name: setup_platform


Project Name: tensorflow/tensorflow
Commit Name: 3d03ae2086b232cb6803507ae4defd997c256ec9
Time: 2020-11-18
Author: crccw@google.com
File Name: tensorflow/python/distribute/multi_process_lib.py
Class Name:
Method Name: _set_spawn_exe_path