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-cov==2.8.1
mock==2.0.0
flake8==3.6.0
flake8==3.8.1
pyflakes==2.2.0

View File

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