MCPcopy
hub / github.com/StevenBlack/hosts / print_success

Function print_success

updateHostsFile.py:1956–1966  ·  view source on GitHub ↗

Print a success message. Parameters ---------- text : str The message to display.

(text)

Source from the content-addressed store, hash-verified

1954
1955
1956def print_success(text):
1957 """
1958 Print a success message.
1959
1960 Parameters
1961 ----------
1962 text : str
1963 The message to display.
1964 """
1965
1966 print(colorize(text, Colors.SUCCESS))
1967
1968
1969def print_failure(text):

Callers 4

mainFunction · 0.85
flush_dns_cacheFunction · 0.85

Calls 1

colorizeFunction · 0.85

Tested by 2