mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 22:00:22 -07:00
Clean up a few more pyflakes warnings
This commit is contained in:
parent
a17ae6f07e
commit
a526eae543
2 changed files with 8 additions and 2 deletions
|
@ -70,7 +70,7 @@ class WorkerProcess(multiprocessing.Process):
|
|||
if fileno is not None:
|
||||
try:
|
||||
self._new_stdin = os.fdopen(os.dup(fileno))
|
||||
except OSError as e:
|
||||
except OSError:
|
||||
# couldn't dupe stdin, most likely because it's
|
||||
# not a valid file descriptor, so we just rely on
|
||||
# using the one that was passed in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue