mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Remove dead code as this was moved to another class
This commit is contained in:
parent
be22a670e5
commit
4737305837
1 changed files with 0 additions and 7 deletions
|
@ -22,7 +22,6 @@ __metaclass__ = type
|
|||
import multiprocessing
|
||||
import os
|
||||
import socket
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
from ansible import constants as C
|
||||
|
@ -83,12 +82,6 @@ class TaskQueueManager:
|
|||
|
||||
self._final_q = multiprocessing.Queue()
|
||||
|
||||
# create the pool of worker threads, based on the number of forks specified
|
||||
try:
|
||||
fileno = sys.stdin.fileno()
|
||||
except ValueError:
|
||||
fileno = None
|
||||
|
||||
# A temporary file (opened pre-fork) used by connection
|
||||
# plugins for inter-process locking.
|
||||
self._connection_lockfile = tempfile.TemporaryFile()
|
||||
|
|
Loading…
Reference in a new issue