A feature-rich command-line audio/video downloader
[downloader/fragment] remove unused code
Remita Amine4abdba643cc2
diff --git a/youtube_dl/downloader/fragment.py b/youtube_dl/downloader/fragment.pyindex 6c02cfc982..0a3b1ece06 100644--- a/youtube_dl/downloader/fragment.py+++ b/youtube_dl/downloader/fragment.py@@ -12,7 +12,6 @@ from ..utils import (encodeFilename,sanitize_open,sanitized_Request,- compat_str,)diff --git a/youtube_dl/downloader/ism.py b/youtube_dl/downloader/ism.pyindex 338820e71c..5f6f9faefb 100644--- a/youtube_dl/downloader/ism.py+++ b/youtube_dl/downloader/ism.py@@ -232,10 +232,6 @@ class IsmFD(FragmentFD):count = 0while count <= fragment_retries:try:- success = ctx['dl'].download(target_filename, {- 'url': segment_url,- 'http_headers': info_dict.get('http_headers'),- })success, frag_content = self._download_fragment(ctx, segment['url'], info_dict)if not success:return False