mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-24 03:45:38 +08:00
typo
This commit is contained in:
@@ -105,7 +105,7 @@ def is_address_subdomain(fqa):
|
||||
If it is, returns True and a tuple (subdomain_name, domain)
|
||||
"""
|
||||
# do these checks early to avoid pathological names that make re.match take forever
|
||||
if fqu.count(".") != 2:
|
||||
if fqa.count(".") != 2:
|
||||
return False, None, None
|
||||
|
||||
grp = re.match(OP_SUBDOMAIN_NAME_PATTERN, fqa)
|
||||
|
||||
Reference in New Issue
Block a user