Home
last modified time | relevance | path

Searched refs:domain_pattern (Results 1 – 1 of 1) sorted by relevance

/development/tools/repo_pull/
Dgerrit.py249 def _domain_matches(domain_name, domain_pattern): argument
273 domain_pattern = domain_pattern.removeprefix('.')
274 return (domain_name == domain_pattern or
275 (domain_name.endswith(domain_pattern) and
276 domain_name[-len(domain_pattern) - 1] == '.'))
283 for domain_pattern, login in credentials.items():
284 if _domain_matches(domain, domain_pattern):