mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fixed lint error
This commit is contained in:
parent
c20f9b6a87
commit
345b056406
1 changed files with 1 additions and 1 deletions
|
@ -464,7 +464,7 @@ def check(set=None, entry=None, family='ipv4'):
|
|||
if settype == 'hash:ip':
|
||||
if _entry_extra:
|
||||
entries = [' '.join([str(ip), ' '.join(_entry_extra)]) for ip in ipaddress.ip_network(_entry)]
|
||||
else:
|
||||
else:
|
||||
entries = [' '.join([str(ip)]) for ip in ipaddress.ip_network(_entry)]
|
||||
elif settype == 'hash:net':
|
||||
_entries = [str(ip) for ip in ipaddress.ip_network(_entry)]
|
||||
|
|
Loading…
Add table
Reference in a new issue