From 488c04543d81a792478c07fe7c6cfa553947c5a0 Mon Sep 17 00:00:00 2001 From: Job Evers-Meltzer Date: Wed, 11 Jan 2017 11:52:38 -0600 Subject: [PATCH] add TODO comment --- lbrynet/cryptstream/client/CryptStreamDownloader.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lbrynet/cryptstream/client/CryptStreamDownloader.py b/lbrynet/cryptstream/client/CryptStreamDownloader.py index ae312ad59..3dadc3b14 100644 --- a/lbrynet/cryptstream/client/CryptStreamDownloader.py +++ b/lbrynet/cryptstream/client/CryptStreamDownloader.py @@ -147,6 +147,10 @@ class CryptStreamDownloader(object): def _get_download_manager(self): assert self.blob_requester is None download_manager = DownloadManager(self.blob_manager, self.upload_allowed) + # TODO: can we get rid of these circular references. I'm not + # smart enough to handle thinking about the interactions + # between them and have hope that there is a simpler way + # to accomplish what we want download_manager.blob_info_finder = self._get_metadata_handler(download_manager) download_manager.progress_manager = self._get_progress_manager(download_manager) download_manager.blob_handler = self._get_blob_handler(download_manager)