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 multiprocessing
|
||||||
import os
|
import os
|
||||||
import socket
|
import socket
|
||||||
import sys
|
|
||||||
import tempfile
|
import tempfile
|
||||||
|
|
||||||
from ansible import constants as C
|
from ansible import constants as C
|
||||||
|
@ -83,12 +82,6 @@ class TaskQueueManager:
|
||||||
|
|
||||||
self._final_q = multiprocessing.Queue()
|
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
|
# A temporary file (opened pre-fork) used by connection
|
||||||
# plugins for inter-process locking.
|
# plugins for inter-process locking.
|
||||||
self._connection_lockfile = tempfile.TemporaryFile()
|
self._connection_lockfile = tempfile.TemporaryFile()
|
||||||
|
|
Loading…
Reference in a new issue