f4c77c85bdda261abf04ea1a87bfc7df739234a7,homeassistant/components/wemo.py,,setup,#Any#Any#,52

Before Change


        env.start()
    except socket.error:
        // If the socket is already in use
        logger.exception("Error starting WeMo environment")
        return False

    env.discover(5)

After Change



        return False

    logger.info("Scanning for WeMo devices")
    devices = pywemo.discover_devices()

    is_switch = lambda switch: isinstance(switch, pywemo.Switch)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: home-assistant/home-assistant
Commit Name: f4c77c85bdda261abf04ea1a87bfc7df739234a7
Time: 2014-04-17
Author: Paulus@PaulusSchoutsen.nl
File Name: homeassistant/components/wemo.py
Class Name:
Method Name: setup


Project Name: home-assistant/home-assistant
Commit Name: 884525df33ffb939b354177d6f99ead8ccb28840
Time: 2015-10-25
Author: tom.duijf@gmail.com
File Name: homeassistant/components/media_player/plex.py
Class Name:
Method Name: setup_plexserver


Project Name: AlexsLemonade/refinebio
Commit Name: d03c17c40a2f3874c6b901d75763dcfc1492955c
Time: 2018-03-16
Author: rich@anomos.info
File Name: workers/data_refinery_workers/processors/no_op.py
Class Name:
Method Name: _no_op_processor_fn