Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, app_obj, info_type, media_data_obj, url_string,
options_string):
if DEBUG_FUNC_FLAG:
utils.debug_time('iop 102 __init__')
super(InfoManager, self).__init__()
# IV list - class objects
# -----------------------
# The mainapp.TartubeApp object
self.app_obj = app_obj
# The video for which information will be fetched (None if
# self.info_type is 'test_ytdl')
self.video_obj = media_data_obj
# This object reads from the child process STDOUT and STDERR in an
# asynchronous way
# Standard Python synchronised queue classes
self.stdout_queue = queue.Queue()
self.stderr_queue = queue.Queue()
# The downloads.PipeReader objects created to handle reading from the
# pipes