d9061b477bbd145baefa5a1166cbc2f549602ea4,lib/streamlit/bootstrap.py,,_print_url,#,169

Before Change


        ]

    elif config.get_option("server.headless"):
        named_urls = [
            ("Network URL", Report.get_url(net_util.get_internal_ip())),
            ("External URL", Report.get_url(net_util.get_external_ip())),
        ]

    else:
        named_urls = [
            ("Local URL", Report.get_url("localhost")),

After Change


            named_urls.append(("Network URL", Report.get_url(internal_ip)))

        external_ip = net_util.get_external_ip()
        if external_ip:
            named_urls.append(("External URL", Report.get_url(external_ip)))

    else:
        named_urls = [
            ("Local URL", Report.get_url("localhost")),
        ]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: streamlit/streamlit
Commit Name: d9061b477bbd145baefa5a1166cbc2f549602ea4
Time: 2020-05-12
Author: thiago@streamlit.io
File Name: lib/streamlit/bootstrap.py
Class Name:
Method Name: _print_url


Project Name: andresriancho/w3af
Commit Name: 5d0b89fa7644bdd51cb4615829cbd329898408a1
Time: 2019-06-07
Author: andres.riancho@gmail.com
File Name: w3af/plugins/audit/response_splitting.py
Class Name: response_splitting
Method Name: _analyze_result


Project Name: andresriancho/w3af
Commit Name: 1fd3ad281270e58c6c8b5c3f0ed83241994fde13
Time: 2020-02-03
Author: qback.contact@gmail.com
File Name: w3af/plugins/grep/cdn_providers.py
Class Name: cdn_providers
Method Name: grep


Project Name: okfn-brasil/serenata-de-amor
Commit Name: 64bbbead07303d2e28b3e789649f27bf4e9ef247
Time: 2017-01-04
Author: cuducos@gmail.com
File Name: jarbas/core/models.py
Class Name: Receipt
Method Name: exists