mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-04-30 22:24:55 +02:00
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>
This commit is contained in:
parent
f674aacdc8
commit
cf32a5cfa8
@ -3,5 +3,5 @@ attrs==19.3.0
|
|||||||
pytest==5.4.2
|
pytest==5.4.2
|
||||||
pytest-cov==2.8.1
|
pytest-cov==2.8.1
|
||||||
mock==2.0.0
|
mock==2.0.0
|
||||||
flake8==3.6.0
|
flake8==3.8.1
|
||||||
pyflakes==2.2.0
|
pyflakes==2.2.0
|
||||||
|
@ -61,14 +61,14 @@ NET_ERRS = [errno.ECONNREFUSED, errno.ETIMEDOUT,
|
|||||||
errno.ECONNRESET]
|
errno.ECONNRESET]
|
||||||
|
|
||||||
|
|
||||||
def _add(l, elem):
|
def _add(socks, elem):
|
||||||
if elem not in l:
|
if elem not in socks:
|
||||||
l.append(elem)
|
socks.append(elem)
|
||||||
|
|
||||||
|
|
||||||
def _fds(l):
|
def _fds(socks):
|
||||||
out = []
|
out = []
|
||||||
for i in l:
|
for i in socks:
|
||||||
try:
|
try:
|
||||||
out.append(i.fileno())
|
out.append(i.fileno())
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
|
Loading…
Reference in New Issue
Block a user