projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b08e09c
)
Correct exception raising
author
Philipp Hagemeister
<phihag@phihag.de>
Wed, 28 Nov 2012 17:21:06 +0000
(18:21 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Wed, 28 Nov 2012 17:21:06 +0000
(18:21 +0100)
youtube_dl/FileDownloader.py
patch
|
blob
|
history
diff --git
a/youtube_dl/FileDownloader.py
b/youtube_dl/FileDownloader.py
index a135be3525d2cc699e9a8ae4b9447e96a3ee762d..48c8eb1261a9c68453c85bfce6286f4d83b2b623 100644
(file)
--- a/
youtube_dl/FileDownloader.py
+++ b/
youtube_dl/FileDownloader.py
@@
-463,7
+463,7
@@
class FileDownloader(object):
try:
success = self._do_download(filename, info_dict)
except (OSError, IOError) as err:
- raise UnavailableVideoError
+ raise UnavailableVideoError
()
except (compat_urllib_error.URLError, compat_http_client.HTTPException, socket.error) as err:
self.trouble(u'ERROR: unable to download video data: %s' % str(err))
return