From c23c1c311e4858551ae5adb9da932ac528997753 Mon Sep 17 00:00:00 2001 From: Brian Bustin Date: Wed, 1 Jul 2015 15:10:12 -0400 Subject: [PATCH] no message --- management/dns_update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/management/dns_update.py b/management/dns_update.py index 6b4b5092..2a5426b5 100755 --- a/management/dns_update.py +++ b/management/dns_update.py @@ -145,7 +145,7 @@ def build_zone(domain, all_domains, additional_records, www_redirect_domains, en # Define ns2.PRIMARY_HOSTNAME or whatever the user overrides. # User may provide one or more additional nameservers - if length(get_secondary_dns(additional_records)) > 0: + if len(get_secondary_dns(additional_records)) > 0: for secondary_ns in get_secondary_dns(additional_records): records.append((None, "NS", secondary_ns+'.', False)) else: