pylint and style fixes for iptables state updates
tls pylint fixes