e91c8e414350cddc13119909896c3e41301999c7,homeassistant/components/device_tracker/aruba.py,ArubaDeviceScanner,get_aruba_data,#ArubaDeviceScanner#,94

Before Change


        except ConnectionRefusedError:
            _LOGGER.exception("Connection refused by router," +
                              " is telnet enabled?")
            return

        devices = {}
        for device in devices_result:
            match = _DEVICES_REGEX.search(device.decode("utf-8"))

After Change


        elif query == 3:
            ssh.sendline("yes")
            ssh.expect ("password:")
        elif query == 4:
            _LOGGER.error("Host key Changed")
            return
        elif query == 5:
            //_LOGGER.error("Connection refused by server")
            return
        elif query == 6:
            //_LOGGER.error("Connection timed out")
            return
        ssh.sendline (self.password )
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: home-assistant/home-assistant
Commit Name: e91c8e414350cddc13119909896c3e41301999c7
Time: 2016-02-02
Author: carlos.mgr@gmail.com
File Name: homeassistant/components/device_tracker/aruba.py
Class Name: ArubaDeviceScanner
Method Name: get_aruba_data


Project Name: home-assistant/home-assistant
Commit Name: 909978b0d1a763861154cfc454890ff1030192c6
Time: 2017-01-19
Author: RiRomain@users.noreply.github.com
File Name: homeassistant/components/device_tracker/xiaomi.py
Class Name:
Method Name: _get_token


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 42fbf7857efc6e2153fc51303cc5a2f306ee9c01
Time: 2019-03-21
Author: dlott@google.com
File Name: perfkitbenchmarker/linux_benchmarks/stress_ng_benchmark.py
Class Name:
Method Name: _ParseStressngResult