MCPcopy Create free account
hub / github.com/adobe/Marinus / add_to_round_two

Function add_to_round_two

python3_cron_scripts/extract_ssl_names.py:41–48  ·  view source on GitHub ↗

This will add a string to the round_two array if it does not exist. It will then return the index of the string within the Array

(str_to_add, round_two)

Source from the content-addressed store, hash-verified

39
40
41def add_to_round_two(str_to_add, round_two):
42 """
43 This will add a string to the round_two array if it does not exist.
44 It will then return the index of the string within the Array
45 """
46 if str_to_add.lower() not in round_two:
47 round_two.append(str_to_add.lower())
48 return round_two.index(str_to_add.lower())
49
50
51def is_tracked_zone(cname, zones):

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected