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:
dependabot-preview[bot] 2020-05-21 08:37:22 +00:00 committed by Brian May
parent f674aacdc8
commit cf32a5cfa8
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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: