56622596e70b7c962af6994c8d85912033521040,homeassistant/components/switch/vera.py,,get_devices,#Any#Any#,65

Before Change


        devices = vera_controller.get_devices(["Switch", "Armable Sensor"])
    except RequestException as inst:
        // There was a network related error connecting to the vera controller
        _LOGGER.error("Could not find Vera switches: %s", inst)
        return False

    vera_switches = []
    for device in devices:

After Change


        devices = vera_controller.get_devices(["Switch", "Armable Sensor"])
    except RequestException:
        // There was a network related error connecting to the vera controller
        _LOGGER.exception("Error communicating with Vera API")
        return False

    vera_switches = []
    for device in devices:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: home-assistant/home-assistant
Commit Name: 56622596e70b7c962af6994c8d85912033521040
Time: 2015-03-08
Author: jamespcole@gmail.com
File Name: homeassistant/components/switch/vera.py
Class Name:
Method Name: get_devices


Project Name: home-assistant/home-assistant
Commit Name: 3b3f5fe6fe2092a5071491fafce11b3851d07ce8
Time: 2015-11-08
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/notify/telegram.py
Class Name: TelegramNotificationService
Method Name: send_message


Project Name: home-assistant/home-assistant
Commit Name: 56622596e70b7c962af6994c8d85912033521040
Time: 2015-03-08
Author: jamespcole@gmail.com
File Name: homeassistant/components/sensor/vera.py
Class Name:
Method Name: get_devices