mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
match pylint rule
This commit is contained in:
parent
f0dbbd5d6c
commit
a526fe2ee4
@ -167,7 +167,7 @@ def update(zone, name, ttl, rdtype, data, nameserver='127.0.0.1', replace=False,
|
||||
for rrset in answer.answer:
|
||||
if rdata in rrset.items:
|
||||
if ttl == rrset.ttl:
|
||||
if (len(answer.answer) >= 1 or len(rrset.items) >= 1):
|
||||
if len(answer.answer) >= 1 or len(rrset.items) >= 1:
|
||||
is_exist = True
|
||||
break
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user