1
0
Fork 0
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:
Toshio Kuratomi 2015-11-10 12:18:20 -08:00
parent be22a670e5
commit 4737305837

View file

@ -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()