Skip to content

Commit

Permalink
fix pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasWaldmann committed Nov 15, 2014
1 parent 536a5f5 commit 11f9e8b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nsupdate/main/dnstools.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 11f9e8b

Please sign in to comment.