Fix line length for CI.

This commit is contained in:
Antoine POPINEAU 2018-04-29 14:59:52 +02:00 committed by Brian May
parent 1f5ed9c66e
commit 55bd78fd43

View File

@ -41,7 +41,9 @@ class Method(BaseMethod):
in sorted(subnets, key=subnet_weight, reverse=True):
tcp_ports = ('ip', 'protocol', 'tcp')
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:
tcp_ports = tcp_ports + ('tcp', 'dport', '%d' % (fport))