Commit 55bd78fd authored by Antoine POPINEAU's avatar Antoine POPINEAU Committed by Brian May

Fix line length for CI.

parent 1f5ed9c6
...@@ -41,7 +41,9 @@ class Method(BaseMethod): ...@@ -41,7 +41,9 @@ class Method(BaseMethod):
in sorted(subnets, key=subnet_weight, reverse=True): in sorted(subnets, key=subnet_weight, reverse=True):
tcp_ports = ('ip', 'protocol', 'tcp') tcp_ports = ('ip', 'protocol', 'tcp')
if fport and fport != lport: if fport and fport != lport:
tcp_ports = tcp_ports + ('tcp', 'dport', '{ %d-%d }' % (fport, lport)) tcp_ports = \
tcp_ports + \
('tcp', 'dport', '{ %d-%d }' % (fport, lport))
elif fport and fport == lport: elif fport and fport == lport:
tcp_ports = tcp_ports + ('tcp', 'dport', '%d' % (fport)) tcp_ports = tcp_ports + ('tcp', 'dport', '%d' % (fport))
......
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