summaryrefslogtreecommitdiffstats
path: root/sshuttle
diff options
context:
space:
mode:
authordependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>2020-05-21 08:37:22 +0000
committerBrian May <brian@linuxpenguins.xyz>2020-05-22 08:10:45 +1000
commitcf32a5cfa8aabda3d8a304fd8ae0964add4169a0 (patch)
tree604b8cf9fb0a26589547f8a3b85e3ae8616a687e /sshuttle
parentf674aacdc87fbcc53633fddc7ef4d3f622126378 (diff)
Bump flake8 from 3.6.0 to 3.8.1
Bumps [flake8](https://gitlab.com/pycqa/flake8) from 3.6.0 to 3.8.1. - [Release notes](https://gitlab.com/pycqa/flake8/tags) - [Commits](https://gitlab.com/pycqa/flake8/compare/3.6.0...3.8.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Diffstat (limited to 'sshuttle')
-rw-r--r--sshuttle/ssnet.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/sshuttle/ssnet.py b/sshuttle/ssnet.py
index 5f30c42..f6044aa 100644
--- a/sshuttle/ssnet.py
+++ b/sshuttle/ssnet.py
@@ -61,14 +61,14 @@ NET_ERRS = [errno.ECONNREFUSED, errno.ETIMEDOUT,
errno.ECONNRESET]
-def _add(l, elem):
- if elem not in l:
- l.append(elem)
+def _add(socks, elem):
+ if elem not in socks:
+ socks.append(elem)
-def _fds(l):
+def _fds(socks):
out = []
- for i in l:
+ for i in socks:
try:
out.append(i.fileno())
except AttributeError: