From 11f9e8b3bf6ab97c5c0623a1f0fea9b89838d7fc Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sat, 15 Nov 2014 22:45:57 +0100 Subject: [PATCH] fix pep8 --- nsupdate/main/dnstools.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nsupdate/main/dnstools.py b/nsupdate/main/dnstools.py index 45b4769..db0be1e 100644 --- a/nsupdate/main/dnstools.py +++ b/nsupdate/main/dnstools.py @@ -272,7 +272,8 @@ def get_ns_info(fqdn): # retry timeout is over, set it available again set_ns_availability(domain, True) algorithm = getattr(dns.tsig, d.nameserver_update_algorithm) - return d.nameserver_ip, d.nameserver2_ip, fqdn.domain, domain, fqdn.host, domain, d.nameserver_update_secret, algorithm + return (d.nameserver_ip, d.nameserver2_ip, fqdn.domain, domain, fqdn.host, domain, + d.nameserver_update_secret, algorithm) def update_ns(fqdn, rdtype='A', ipaddr=None, action='upd', ttl=60):