aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/utils.py
diff options
context:
space:
mode:
authorFilippo Valsorda <filippo.valsorda@gmail.com>2012-12-20 11:26:38 +0100
committerFilippo Valsorda <filippo.valsorda@gmail.com>2012-12-20 14:20:24 +0100
commit056d857571158264aefb8d9f7d47c0dad768be63 (patch)
treeab5aabb5ee64f84167695e39cff328e3289dd21b /youtube_dl/utils.py
parent69a388319909456f4f666e500f5648589ada10b8 (diff)
refactor YouTube subtitles code, it was ugly (my bad)
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r--youtube_dl/utils.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py
index a5196b0ae..c18c9beed 100644
--- a/youtube_dl/utils.py
+++ b/youtube_dl/utils.py
@@ -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.