diff options
author | Antoine POPINEAU <antoine.popineau@appscho.com> | 2018-04-29 14:59:52 +0200 |
---|---|---|
committer | Brian May <brian@linuxpenguins.xyz> | 2018-04-30 07:40:58 +1000 |
commit | 55bd78fd4381cfb5f94d6cbb9c138975e57a3ff2 (patch) | |
tree | a47a6d5077b63f766d7bb6e1b11e3ac29b8bcc6d /sshuttle | |
parent | 1f5ed9c66ec810ce1d54607c98e1a5a4bbeea912 (diff) |
Fix line length for CI.
Diffstat (limited to 'sshuttle')
-rw-r--r-- | sshuttle/methods/nft.py | 4 |
1 files changed, 3 insertions, 1 deletions
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)) |