refactor YouTube subtitles code, it was ugly (my bad)
[youtube-dl] / youtube_dl / utils.py
index a5196b0aec4bcf626c2c724561d25c95ed3f2799..c18c9beedb85904578dad654c624d97ccc1f68a0 100644 (file)
@@ -465,14 +465,6 @@ class ContentTooShortError(Exception):
         self.downloaded = downloaded
         self.expected = expected
 
-
-class Trouble(Exception):
-    """Trouble helper exception
-
-    This is an exception to be handled with
-    FileDownloader.trouble
-    """
-
 class YoutubeDLHandler(compat_urllib_request.HTTPHandler):
     """Handler for HTTP requests and responses.