Fixed lint error

This commit is contained in:
justinta89 2016-01-15 11:13:39 -07:00
parent c20f9b6a87
commit 345b056406

View file

@ -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)]