From 55bd78fd4381cfb5f94d6cbb9c138975e57a3ff2 Mon Sep 17 00:00:00 2001 From: Antoine POPINEAU Date: Sun, 29 Apr 2018 14:59:52 +0200 Subject: [PATCH] Fix line length for CI. --- sshuttle/methods/nft.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sshuttle/methods/nft.py b/sshuttle/methods/nft.py index 57572cd..7b14f76 100644 --- a/sshuttle/methods/nft.py +++ b/sshuttle/methods/nft.py @@ -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))