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

Method get_root_domain

python3_cron_scripts/libs3/ZoneManager.py:177–185  ·  view source on GitHub ↗

Get the root domain (FLD) for the provided value

(value, zone=None)

Source from the content-addressed store, hash-verified

175
176 @staticmethod
177 def get_root_domain(value, zone=None):
178 """
179 Get the root domain (FLD) for the provided value
180 """
181 res = get_fld(value, fix_protocol=True, fail_silently=True)
182 if res is None:
183 return zone
184
185 return res
186
187 def get_zone(self, zone):
188 """

Callers 2

extract_rdns_infoMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected