9a87e5e336ca6846656de178a81f734818bce9ba,homeassistant/components/influxdb.py,,setup,#Any#Any#,41

Before Change



    conf = config[DOMAIN]

    host = conf[CONF_HOST]
    port = util.convert(conf.get(CONF_PORT), int, DEFAULT_PORT)
    database = util.convert(conf.get(CONF_DB_NAME), str, DEFAULT_DATABASE)
    username = util.convert(conf.get(CONF_USERNAME), str)
    password = util.convert(conf.get(CONF_PASSWORD), str)
    ssl = util.convert(conf.get(CONF_SSL), bool, DEFAULT_SSL)
    verify_ssl = util.convert(conf.get(CONF_VERIFY_SSL), bool,
                              DEFAULT_VERIFY_SSL)
    blacklist = conf.get(CONF_BLACKLIST, [])
    whitelist = conf.get(CONF_WHITELIST, [])
    tags = conf.get(CONF_TAGS, {})

After Change


    Setup the InfluxDB component.
    from influxdb import InfluxDBClient, exceptions

    conf = config[DOMAIN]

    host = conf.get(CONF_HOST)
    port = conf.get(CONF_PORT)
    database = conf.get(CONF_DB_NAME)
    username = conf.get(CONF_USERNAME)
    password = conf.get(CONF_PASSWORD)
    ssl = conf.get(CONF_SSL)
    verify_ssl = conf.get(CONF_VERIFY_SSL)
    blacklist = conf.get(CONF_BLACKLIST)
    whitelist = conf.get(CONF_WHITELIST)
    tags = conf.get(CONF_TAGS)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 14

Instances


Project Name: home-assistant/home-assistant
Commit Name: 9a87e5e336ca6846656de178a81f734818bce9ba
Time: 2016-09-18
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/influxdb.py
Class Name:
Method Name: setup


Project Name: home-assistant/home-assistant
Commit Name: ac5647a30e7e54631e371af06d88370ff90a6af7
Time: 2016-09-13
Author: mail@fabian-affolter.ch
File Name: homeassistant/components/statsd.py
Class Name:
Method Name: setup


Project Name: home-assistant/home-assistant
Commit Name: 9a87e5e336ca6846656de178a81f734818bce9ba
Time: 2016-09-18
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/influxdb.py
Class Name:
Method Name: setup


Project Name: home-assistant/home-assistant
Commit Name: 6f27d58188ce908ea6f04e0f9cd7887c1201b614
Time: 2016-08-23
Author: mail@fabian-affolter.ch
File Name: homeassistant/components/splunk.py
Class Name:
Method Name: setup