Commit cf32a5cf authored by dependabot-preview[bot]'s avatar dependabot-preview[bot] Committed by Brian May

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: 's avatardependabot-preview[bot] <support@dependabot.com>
parent f674aacd
......@@ -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
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment