Commit 9bdd9fea authored by Samuel Bernardo's avatar Samuel Bernardo Committed by Brian May

Correct flake8 liting issues

Signed-off-by: 's avatarSamuel Bernardo <samuel@lip.pt>
parent d5cceb3e
...@@ -155,8 +155,8 @@ class Method(BaseMethod): ...@@ -155,8 +155,8 @@ class Method(BaseMethod):
self.setup_firewall_tproxy(port, dnsport, nslist, family, subnets, udp, self.setup_firewall_tproxy(port, dnsport, nslist, family, subnets, udp,
user, self.firewall.tmark) user, self.firewall.tmark)
def setup_firewall_tproxy(self, port, dnsport, nslist, family, subnets, udp, def setup_firewall_tproxy(self, port, dnsport, nslist, family, subnets,
user, tmark): udp, user, tmark):
if family not in [socket.AF_INET, socket.AF_INET6]: if family not in [socket.AF_INET, socket.AF_INET6]:
raise Exception( raise Exception(
'Address family "%s" unsupported by tproxy method' 'Address family "%s" unsupported by tproxy method'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment