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

Function is_tracked_zone

python3_cron_scripts/remove_expired_entries.py:37–44  ·  view source on GitHub ↗

Is the root domain for the provided fqdn one of the known domains?

(fqdn, zone)

Source from the content-addressed store, hash-verified

35
36
37def is_tracked_zone(fqdn, zone):
38 """
39 Is the root domain for the provided fqdn one of the known domains?
40 """
41
42 if fqdn.endswith("." + zone) or fqdn == zone:
43 return True
44 return False
45
46
47def monthdelta(date, delta):

Callers 1

insert_current_resultsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected